@sikka/hawa 0.49.5-next → 0.49.7-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.js +8 -6
- package/dist/blocks/auth/index.mjs +8 -6
- package/dist/blocks/index.js +8 -6
- package/dist/blocks/index.mjs +8 -6
- package/dist/index.js +8 -6
- package/dist/index.mjs +8 -6
- package/package.json +1 -1
@@ -4430,6 +4430,7 @@ var RegisterForm = ({
|
|
4430
4430
|
/* @__PURE__ */ import_react37.default.createElement(import_react_hook_form2.FormProvider, { ...methods }, /* @__PURE__ */ import_react37.default.createElement(
|
4431
4431
|
"form",
|
4432
4432
|
{
|
4433
|
+
id: "register_form",
|
4433
4434
|
noValidate: true,
|
4434
4435
|
onSubmit: handleSubmit((e) => {
|
4435
4436
|
if (props.onRegister) {
|
@@ -4531,18 +4532,18 @@ var RegisterForm = ({
|
|
4531
4532
|
control,
|
4532
4533
|
name: "username",
|
4533
4534
|
render: ({ field }) => {
|
4534
|
-
var _a2, _b2, _c2, _d2;
|
4535
|
+
var _a2, _b2, _c2, _d2, _e2;
|
4535
4536
|
return /* @__PURE__ */ import_react37.default.createElement(
|
4536
4537
|
Input,
|
4537
4538
|
{
|
4538
4539
|
width: "full",
|
4539
4540
|
autoComplete: "username",
|
4540
4541
|
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
4541
|
-
labelProps: {
|
4542
|
-
...(
|
4543
|
-
},
|
4544
|
-
helperText: (
|
4545
|
-
placeholder: (
|
4542
|
+
labelProps: ((_b2 = props.usernameOptions) == null ? void 0 : _b2.label) ? {
|
4543
|
+
...(_c2 = props.usernameOptions) == null ? void 0 : _c2.label
|
4544
|
+
} : void 0,
|
4545
|
+
helperText: (_d2 = formState.errors.username) == null ? void 0 : _d2.message,
|
4546
|
+
placeholder: (_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.placeholder,
|
4546
4547
|
...field
|
4547
4548
|
}
|
4548
4549
|
);
|
@@ -4791,6 +4792,7 @@ var RegisterForm = ({
|
|
4791
4792
|
{
|
4792
4793
|
className: "hawa-w-full",
|
4793
4794
|
type: "submit",
|
4795
|
+
form: "register_form",
|
4794
4796
|
isLoading: props.isLoading,
|
4795
4797
|
disabled: props.isLoading
|
4796
4798
|
},
|
@@ -3057,6 +3057,7 @@ var RegisterForm = ({
|
|
3057
3057
|
/* @__PURE__ */ React7.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React7.createElement(
|
3058
3058
|
"form",
|
3059
3059
|
{
|
3060
|
+
id: "register_form",
|
3060
3061
|
noValidate: true,
|
3061
3062
|
onSubmit: handleSubmit((e) => {
|
3062
3063
|
if (props.onRegister) {
|
@@ -3158,18 +3159,18 @@ var RegisterForm = ({
|
|
3158
3159
|
control,
|
3159
3160
|
name: "username",
|
3160
3161
|
render: ({ field }) => {
|
3161
|
-
var _a2, _b2, _c2, _d2;
|
3162
|
+
var _a2, _b2, _c2, _d2, _e2;
|
3162
3163
|
return /* @__PURE__ */ React7.createElement(
|
3163
3164
|
Input,
|
3164
3165
|
{
|
3165
3166
|
width: "full",
|
3166
3167
|
autoComplete: "username",
|
3167
3168
|
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
3168
|
-
labelProps: {
|
3169
|
-
...(
|
3170
|
-
},
|
3171
|
-
helperText: (
|
3172
|
-
placeholder: (
|
3169
|
+
labelProps: ((_b2 = props.usernameOptions) == null ? void 0 : _b2.label) ? {
|
3170
|
+
...(_c2 = props.usernameOptions) == null ? void 0 : _c2.label
|
3171
|
+
} : void 0,
|
3172
|
+
helperText: (_d2 = formState.errors.username) == null ? void 0 : _d2.message,
|
3173
|
+
placeholder: (_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.placeholder,
|
3173
3174
|
...field
|
3174
3175
|
}
|
3175
3176
|
);
|
@@ -3418,6 +3419,7 @@ var RegisterForm = ({
|
|
3418
3419
|
{
|
3419
3420
|
className: "hawa-w-full",
|
3420
3421
|
type: "submit",
|
3422
|
+
form: "register_form",
|
3421
3423
|
isLoading: props.isLoading,
|
3422
3424
|
disabled: props.isLoading
|
3423
3425
|
},
|
package/dist/blocks/index.js
CHANGED
@@ -4605,6 +4605,7 @@ var RegisterForm = ({
|
|
4605
4605
|
/* @__PURE__ */ import_react37.default.createElement(import_react_hook_form2.FormProvider, { ...methods }, /* @__PURE__ */ import_react37.default.createElement(
|
4606
4606
|
"form",
|
4607
4607
|
{
|
4608
|
+
id: "register_form",
|
4608
4609
|
noValidate: true,
|
4609
4610
|
onSubmit: handleSubmit((e) => {
|
4610
4611
|
if (props.onRegister) {
|
@@ -4706,18 +4707,18 @@ var RegisterForm = ({
|
|
4706
4707
|
control,
|
4707
4708
|
name: "username",
|
4708
4709
|
render: ({ field }) => {
|
4709
|
-
var _a2, _b2, _c2, _d2;
|
4710
|
+
var _a2, _b2, _c2, _d2, _e2;
|
4710
4711
|
return /* @__PURE__ */ import_react37.default.createElement(
|
4711
4712
|
Input,
|
4712
4713
|
{
|
4713
4714
|
width: "full",
|
4714
4715
|
autoComplete: "username",
|
4715
4716
|
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
4716
|
-
labelProps: {
|
4717
|
-
...(
|
4718
|
-
},
|
4719
|
-
helperText: (
|
4720
|
-
placeholder: (
|
4717
|
+
labelProps: ((_b2 = props.usernameOptions) == null ? void 0 : _b2.label) ? {
|
4718
|
+
...(_c2 = props.usernameOptions) == null ? void 0 : _c2.label
|
4719
|
+
} : void 0,
|
4720
|
+
helperText: (_d2 = formState.errors.username) == null ? void 0 : _d2.message,
|
4721
|
+
placeholder: (_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.placeholder,
|
4721
4722
|
...field
|
4722
4723
|
}
|
4723
4724
|
);
|
@@ -4966,6 +4967,7 @@ var RegisterForm = ({
|
|
4966
4967
|
{
|
4967
4968
|
className: "hawa-w-full",
|
4968
4969
|
type: "submit",
|
4970
|
+
form: "register_form",
|
4969
4971
|
isLoading: props.isLoading,
|
4970
4972
|
disabled: props.isLoading
|
4971
4973
|
},
|
package/dist/blocks/index.mjs
CHANGED
@@ -647,6 +647,7 @@ var RegisterForm = ({
|
|
647
647
|
/* @__PURE__ */ React3.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React3.createElement(
|
648
648
|
"form",
|
649
649
|
{
|
650
|
+
id: "register_form",
|
650
651
|
noValidate: true,
|
651
652
|
onSubmit: handleSubmit((e) => {
|
652
653
|
if (props.onRegister) {
|
@@ -748,18 +749,18 @@ var RegisterForm = ({
|
|
748
749
|
control,
|
749
750
|
name: "username",
|
750
751
|
render: ({ field }) => {
|
751
|
-
var _a2, _b2, _c2, _d2;
|
752
|
+
var _a2, _b2, _c2, _d2, _e2;
|
752
753
|
return /* @__PURE__ */ React3.createElement(
|
753
754
|
Input,
|
754
755
|
{
|
755
756
|
width: "full",
|
756
757
|
autoComplete: "username",
|
757
758
|
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
758
|
-
labelProps: {
|
759
|
-
...(
|
760
|
-
},
|
761
|
-
helperText: (
|
762
|
-
placeholder: (
|
759
|
+
labelProps: ((_b2 = props.usernameOptions) == null ? void 0 : _b2.label) ? {
|
760
|
+
...(_c2 = props.usernameOptions) == null ? void 0 : _c2.label
|
761
|
+
} : void 0,
|
762
|
+
helperText: (_d2 = formState.errors.username) == null ? void 0 : _d2.message,
|
763
|
+
placeholder: (_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.placeholder,
|
763
764
|
...field
|
764
765
|
}
|
765
766
|
);
|
@@ -1008,6 +1009,7 @@ var RegisterForm = ({
|
|
1008
1009
|
{
|
1009
1010
|
className: "hawa-w-full",
|
1010
1011
|
type: "submit",
|
1012
|
+
form: "register_form",
|
1011
1013
|
isLoading: props.isLoading,
|
1012
1014
|
disabled: props.isLoading
|
1013
1015
|
},
|
package/dist/index.js
CHANGED
@@ -10671,6 +10671,7 @@ var RegisterForm = ({
|
|
10671
10671
|
/* @__PURE__ */ import_react69.default.createElement(import_react_hook_form2.FormProvider, { ...methods }, /* @__PURE__ */ import_react69.default.createElement(
|
10672
10672
|
"form",
|
10673
10673
|
{
|
10674
|
+
id: "register_form",
|
10674
10675
|
noValidate: true,
|
10675
10676
|
onSubmit: handleSubmit((e) => {
|
10676
10677
|
if (props.onRegister) {
|
@@ -10772,18 +10773,18 @@ var RegisterForm = ({
|
|
10772
10773
|
control,
|
10773
10774
|
name: "username",
|
10774
10775
|
render: ({ field }) => {
|
10775
|
-
var _a2, _b2, _c2, _d2;
|
10776
|
+
var _a2, _b2, _c2, _d2, _e2;
|
10776
10777
|
return /* @__PURE__ */ import_react69.default.createElement(
|
10777
10778
|
Input,
|
10778
10779
|
{
|
10779
10780
|
width: "full",
|
10780
10781
|
autoComplete: "username",
|
10781
10782
|
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
10782
|
-
labelProps: {
|
10783
|
-
...(
|
10784
|
-
},
|
10785
|
-
helperText: (
|
10786
|
-
placeholder: (
|
10783
|
+
labelProps: ((_b2 = props.usernameOptions) == null ? void 0 : _b2.label) ? {
|
10784
|
+
...(_c2 = props.usernameOptions) == null ? void 0 : _c2.label
|
10785
|
+
} : void 0,
|
10786
|
+
helperText: (_d2 = formState.errors.username) == null ? void 0 : _d2.message,
|
10787
|
+
placeholder: (_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.placeholder,
|
10787
10788
|
...field
|
10788
10789
|
}
|
10789
10790
|
);
|
@@ -11032,6 +11033,7 @@ var RegisterForm = ({
|
|
11032
11033
|
{
|
11033
11034
|
className: "hawa-w-full",
|
11034
11035
|
type: "submit",
|
11036
|
+
form: "register_form",
|
11035
11037
|
isLoading: props.isLoading,
|
11036
11038
|
disabled: props.isLoading
|
11037
11039
|
},
|
package/dist/index.mjs
CHANGED
@@ -10441,6 +10441,7 @@ var RegisterForm = ({
|
|
10441
10441
|
/* @__PURE__ */ React83.createElement(FormProvider, { ...methods }, /* @__PURE__ */ React83.createElement(
|
10442
10442
|
"form",
|
10443
10443
|
{
|
10444
|
+
id: "register_form",
|
10444
10445
|
noValidate: true,
|
10445
10446
|
onSubmit: handleSubmit((e) => {
|
10446
10447
|
if (props.onRegister) {
|
@@ -10542,18 +10543,18 @@ var RegisterForm = ({
|
|
10542
10543
|
control,
|
10543
10544
|
name: "username",
|
10544
10545
|
render: ({ field }) => {
|
10545
|
-
var _a2, _b2, _c2, _d2;
|
10546
|
+
var _a2, _b2, _c2, _d2, _e2;
|
10546
10547
|
return /* @__PURE__ */ React83.createElement(
|
10547
10548
|
Input,
|
10548
10549
|
{
|
10549
10550
|
width: "full",
|
10550
10551
|
autoComplete: "username",
|
10551
10552
|
label: ((_a2 = texts == null ? void 0 : texts.username) == null ? void 0 : _a2.label) || "Username",
|
10552
|
-
labelProps: {
|
10553
|
-
...(
|
10554
|
-
},
|
10555
|
-
helperText: (
|
10556
|
-
placeholder: (
|
10553
|
+
labelProps: ((_b2 = props.usernameOptions) == null ? void 0 : _b2.label) ? {
|
10554
|
+
...(_c2 = props.usernameOptions) == null ? void 0 : _c2.label
|
10555
|
+
} : void 0,
|
10556
|
+
helperText: (_d2 = formState.errors.username) == null ? void 0 : _d2.message,
|
10557
|
+
placeholder: (_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.placeholder,
|
10557
10558
|
...field
|
10558
10559
|
}
|
10559
10560
|
);
|
@@ -10802,6 +10803,7 @@ var RegisterForm = ({
|
|
10802
10803
|
{
|
10803
10804
|
className: "hawa-w-full",
|
10804
10805
|
type: "submit",
|
10806
|
+
form: "register_form",
|
10805
10807
|
isLoading: props.isLoading,
|
10806
10808
|
disabled: props.isLoading
|
10807
10809
|
},
|