@sikka/hawa 0.30.29-next → 0.30.30-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.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { FC } from 'react';
3
- import { a as ThirdPartyAuthTextsTypes, L as LoginFormTextsTypes, D as DirectionType, P as PositionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-DAgkNov8.mjs';
3
+ import { a as ThirdPartyAuthTextsTypes, L as LoginFormTextsTypes, D as DirectionType, P as PositionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-0bvyKoeH.mjs';
4
4
 
5
5
  type AuthButtonsType = {
6
6
  texts?: ThirdPartyAuthTextsTypes;
@@ -211,6 +211,7 @@ declare const CheckEmail: FC<CheckEmailBlocks>;
211
211
  type NewPasswordTypes = {
212
212
  handleNewPassword: (e: any) => void;
213
213
  handleRouteToRegister: () => void;
214
+ isLoading: boolean;
214
215
  direction?: DirectionType;
215
216
  headless?: boolean;
216
217
  allowRegister?: boolean;
@@ -223,6 +224,7 @@ type ResetPasswordType = {
223
224
  handleResetPassword: (e: any) => void;
224
225
  handleRouteToRegister: () => void;
225
226
  sent: any;
227
+ isLoading: boolean;
226
228
  headless?: boolean;
227
229
  allowRegister?: boolean;
228
230
  direction?: DirectionType;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { FC } from 'react';
3
- import { a as ThirdPartyAuthTextsTypes, L as LoginFormTextsTypes, D as DirectionType, P as PositionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-DAgkNov8.js';
3
+ import { a as ThirdPartyAuthTextsTypes, L as LoginFormTextsTypes, D as DirectionType, P as PositionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-0bvyKoeH.js';
4
4
 
5
5
  type AuthButtonsType = {
6
6
  texts?: ThirdPartyAuthTextsTypes;
@@ -211,6 +211,7 @@ declare const CheckEmail: FC<CheckEmailBlocks>;
211
211
  type NewPasswordTypes = {
212
212
  handleNewPassword: (e: any) => void;
213
213
  handleRouteToRegister: () => void;
214
+ isLoading: boolean;
214
215
  direction?: DirectionType;
215
216
  headless?: boolean;
216
217
  allowRegister?: boolean;
@@ -223,6 +224,7 @@ type ResetPasswordType = {
223
224
  handleResetPassword: (e: any) => void;
224
225
  handleRouteToRegister: () => void;
225
226
  sent: any;
227
+ isLoading: boolean;
226
228
  headless?: boolean;
227
229
  allowRegister?: boolean;
228
230
  direction?: DirectionType;
@@ -3770,7 +3770,7 @@ var RegisterForm = ({
3770
3770
  const methods = (0, import_react_hook_form2.useForm)();
3771
3771
  let fieldSchemas = {};
3772
3772
  registerFields.forEach((field) => {
3773
- var _a2, _b2, _c2, _d2, _e2, _f2;
3773
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
3774
3774
  switch (field) {
3775
3775
  case "fullname":
3776
3776
  fieldSchemas["fullName"] = z2.string().optional();
@@ -3785,12 +3785,14 @@ var RegisterForm = ({
3785
3785
  required_error: ((_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.required) || "Username is required"
3786
3786
  }).min(1, {
3787
3787
  message: ((_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.required) || "Username is required"
3788
+ }).max(14, {
3789
+ message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.tooLong) || "Username is too long"
3788
3790
  }).refine(
3789
3791
  (value) => {
3790
3792
  const isValid = /^[a-zA-Z][a-zA-Z0-9_-]{2,14}$/.test(value);
3791
3793
  return isValid;
3792
3794
  },
3793
- { message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.invalid) || "Invalid username" }
3795
+ { message: ((_g2 = texts == null ? void 0 : texts.username) == null ? void 0 : _g2.invalid) || "Invalid username" }
3794
3796
  );
3795
3797
  break;
3796
3798
  }
@@ -4196,7 +4198,11 @@ var import_react18 = __toESM(require("react"));
4196
4198
  var import_react_hook_form3 = require("react-hook-form");
4197
4199
  var import_zod3 = require("@hookform/resolvers/zod");
4198
4200
  var z3 = __toESM(require("zod"));
4199
- var NewPasswordForm = ({ texts, ...props }) => {
4201
+ var NewPasswordForm = ({
4202
+ texts,
4203
+ isLoading,
4204
+ ...props
4205
+ }) => {
4200
4206
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
4201
4207
  const formSchema = z3.object({
4202
4208
  password: z3.string({ required_error: (_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.required }).min(8, { message: (_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.tooShort }),
@@ -4277,7 +4283,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
4277
4283
  }
4278
4284
  )
4279
4285
  ),
4280
- /* @__PURE__ */ import_react18.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react18.default.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ import_react18.default.createElement(
4286
+ /* @__PURE__ */ import_react18.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react18.default.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ import_react18.default.createElement(
4281
4287
  "span",
4282
4288
  {
4283
4289
  className: "clickable-link",
@@ -4295,6 +4301,7 @@ var import_zod4 = require("@hookform/resolvers/zod");
4295
4301
  var z4 = __toESM(require("zod"));
4296
4302
  var ResetPasswordForm = ({
4297
4303
  allowRegister = true,
4304
+ isLoading,
4298
4305
  ...props
4299
4306
  }) => {
4300
4307
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
@@ -4338,7 +4345,15 @@ var ResetPasswordForm = ({
4338
4345
  }
4339
4346
  }
4340
4347
  )),
4341
- /* @__PURE__ */ import_react19.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react19.default.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react19.default.createElement(
4348
+ /* @__PURE__ */ import_react19.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react19.default.createElement(
4349
+ Button,
4350
+ {
4351
+ type: "submit",
4352
+ className: "hawa-w-full",
4353
+ isLoading
4354
+ },
4355
+ ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
4356
+ ), allowRegister && /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react19.default.createElement(
4342
4357
  "span",
4343
4358
  {
4344
4359
  className: "clickable-link",
@@ -2864,7 +2864,7 @@ var RegisterForm = ({
2864
2864
  const methods = useForm2();
2865
2865
  let fieldSchemas = {};
2866
2866
  registerFields.forEach((field) => {
2867
- var _a2, _b2, _c2, _d2, _e2, _f2;
2867
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
2868
2868
  switch (field) {
2869
2869
  case "fullname":
2870
2870
  fieldSchemas["fullName"] = z2.string().optional();
@@ -2879,12 +2879,14 @@ var RegisterForm = ({
2879
2879
  required_error: ((_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.required) || "Username is required"
2880
2880
  }).min(1, {
2881
2881
  message: ((_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.required) || "Username is required"
2882
+ }).max(14, {
2883
+ message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.tooLong) || "Username is too long"
2882
2884
  }).refine(
2883
2885
  (value) => {
2884
2886
  const isValid = /^[a-zA-Z][a-zA-Z0-9_-]{2,14}$/.test(value);
2885
2887
  return isValid;
2886
2888
  },
2887
- { message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.invalid) || "Invalid username" }
2889
+ { message: ((_g2 = texts == null ? void 0 : texts.username) == null ? void 0 : _g2.invalid) || "Invalid username" }
2888
2890
  );
2889
2891
  break;
2890
2892
  }
@@ -3290,7 +3292,11 @@ import React10, { useState as useState5 } from "react";
3290
3292
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
3291
3293
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
3292
3294
  import * as z3 from "zod";
3293
- var NewPasswordForm = ({ texts, ...props }) => {
3295
+ var NewPasswordForm = ({
3296
+ texts,
3297
+ isLoading,
3298
+ ...props
3299
+ }) => {
3294
3300
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
3295
3301
  const formSchema = z3.object({
3296
3302
  password: z3.string({ required_error: (_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.required }).min(8, { message: (_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.tooShort }),
@@ -3371,7 +3377,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
3371
3377
  }
3372
3378
  )
3373
3379
  ),
3374
- /* @__PURE__ */ React10.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React10.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React10.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React10.createElement(
3380
+ /* @__PURE__ */ React10.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React10.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React10.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React10.createElement(
3375
3381
  "span",
3376
3382
  {
3377
3383
  className: "clickable-link",
@@ -3389,6 +3395,7 @@ import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
3389
3395
  import * as z4 from "zod";
3390
3396
  var ResetPasswordForm = ({
3391
3397
  allowRegister = true,
3398
+ isLoading,
3392
3399
  ...props
3393
3400
  }) => {
3394
3401
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
@@ -3432,7 +3439,15 @@ var ResetPasswordForm = ({
3432
3439
  }
3433
3440
  }
3434
3441
  )),
3435
- /* @__PURE__ */ React11.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React11.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ React11.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React11.createElement(
3442
+ /* @__PURE__ */ React11.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React11.createElement(
3443
+ Button,
3444
+ {
3445
+ type: "submit",
3446
+ className: "hawa-w-full",
3447
+ isLoading
3448
+ },
3449
+ ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
3450
+ ), allowRegister && /* @__PURE__ */ React11.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React11.createElement(
3436
3451
  "span",
3437
3452
  {
3438
3453
  className: "clickable-link",
@@ -1,5 +1,5 @@
1
1
  import React__default, { FC } from 'react';
2
- import { D as DirectionType, B as BaseInputType } from '../../textTypes-DAgkNov8.mjs';
2
+ import { D as DirectionType, B as BaseInputType } from '../../textTypes-0bvyKoeH.mjs';
3
3
 
4
4
  type RadioOptionsTypes = {
5
5
  value: any;
@@ -1,5 +1,5 @@
1
1
  import React__default, { FC } from 'react';
2
- import { D as DirectionType, B as BaseInputType } from '../../textTypes-DAgkNov8.js';
2
+ import { D as DirectionType, B as BaseInputType } from '../../textTypes-0bvyKoeH.js';
3
3
 
4
4
  type RadioOptionsTypes = {
5
5
  value: any;
@@ -202,6 +202,7 @@ declare const CheckEmail: FC<CheckEmailBlocks>;
202
202
  type NewPasswordTypes = {
203
203
  handleNewPassword: (e: any) => void;
204
204
  handleRouteToRegister: () => void;
205
+ isLoading: boolean;
205
206
  direction?: DirectionType;
206
207
  headless?: boolean;
207
208
  allowRegister?: boolean;
@@ -214,6 +215,7 @@ type ResetPasswordType = {
214
215
  handleResetPassword: (e: any) => void;
215
216
  handleRouteToRegister: () => void;
216
217
  sent: any;
218
+ isLoading: boolean;
217
219
  headless?: boolean;
218
220
  allowRegister?: boolean;
219
221
  direction?: DirectionType;
@@ -202,6 +202,7 @@ declare const CheckEmail: FC<CheckEmailBlocks>;
202
202
  type NewPasswordTypes = {
203
203
  handleNewPassword: (e: any) => void;
204
204
  handleRouteToRegister: () => void;
205
+ isLoading: boolean;
205
206
  direction?: DirectionType;
206
207
  headless?: boolean;
207
208
  allowRegister?: boolean;
@@ -214,6 +215,7 @@ type ResetPasswordType = {
214
215
  handleResetPassword: (e: any) => void;
215
216
  handleRouteToRegister: () => void;
216
217
  sent: any;
218
+ isLoading: boolean;
217
219
  headless?: boolean;
218
220
  allowRegister?: boolean;
219
221
  direction?: DirectionType;
@@ -3927,7 +3927,7 @@ var RegisterForm = ({
3927
3927
  const methods = (0, import_react_hook_form2.useForm)();
3928
3928
  let fieldSchemas = {};
3929
3929
  registerFields.forEach((field) => {
3930
- var _a2, _b2, _c2, _d2, _e2, _f2;
3930
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
3931
3931
  switch (field) {
3932
3932
  case "fullname":
3933
3933
  fieldSchemas["fullName"] = z2.string().optional();
@@ -3942,12 +3942,14 @@ var RegisterForm = ({
3942
3942
  required_error: ((_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.required) || "Username is required"
3943
3943
  }).min(1, {
3944
3944
  message: ((_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.required) || "Username is required"
3945
+ }).max(14, {
3946
+ message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.tooLong) || "Username is too long"
3945
3947
  }).refine(
3946
3948
  (value) => {
3947
3949
  const isValid = /^[a-zA-Z][a-zA-Z0-9_-]{2,14}$/.test(value);
3948
3950
  return isValid;
3949
3951
  },
3950
- { message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.invalid) || "Invalid username" }
3952
+ { message: ((_g2 = texts == null ? void 0 : texts.username) == null ? void 0 : _g2.invalid) || "Invalid username" }
3951
3953
  );
3952
3954
  break;
3953
3955
  }
@@ -4353,7 +4355,11 @@ var import_react18 = __toESM(require("react"));
4353
4355
  var import_react_hook_form3 = require("react-hook-form");
4354
4356
  var import_zod3 = require("@hookform/resolvers/zod");
4355
4357
  var z3 = __toESM(require("zod"));
4356
- var NewPasswordForm = ({ texts, ...props }) => {
4358
+ var NewPasswordForm = ({
4359
+ texts,
4360
+ isLoading,
4361
+ ...props
4362
+ }) => {
4357
4363
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
4358
4364
  const formSchema = z3.object({
4359
4365
  password: z3.string({ required_error: (_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.required }).min(8, { message: (_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.tooShort }),
@@ -4434,7 +4440,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
4434
4440
  }
4435
4441
  )
4436
4442
  ),
4437
- /* @__PURE__ */ import_react18.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react18.default.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ import_react18.default.createElement(
4443
+ /* @__PURE__ */ import_react18.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react18.default.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react18.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ import_react18.default.createElement(
4438
4444
  "span",
4439
4445
  {
4440
4446
  className: "clickable-link",
@@ -4452,6 +4458,7 @@ var import_zod4 = require("@hookform/resolvers/zod");
4452
4458
  var z4 = __toESM(require("zod"));
4453
4459
  var ResetPasswordForm = ({
4454
4460
  allowRegister = true,
4461
+ isLoading,
4455
4462
  ...props
4456
4463
  }) => {
4457
4464
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
@@ -4495,7 +4502,15 @@ var ResetPasswordForm = ({
4495
4502
  }
4496
4503
  }
4497
4504
  )),
4498
- /* @__PURE__ */ import_react19.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react19.default.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react19.default.createElement(
4505
+ /* @__PURE__ */ import_react19.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react19.default.createElement(
4506
+ Button,
4507
+ {
4508
+ type: "submit",
4509
+ className: "hawa-w-full",
4510
+ isLoading
4511
+ },
4512
+ ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
4513
+ ), allowRegister && /* @__PURE__ */ import_react19.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react19.default.createElement(
4499
4514
  "span",
4500
4515
  {
4501
4516
  className: "clickable-link",
@@ -486,7 +486,7 @@ var RegisterForm = ({
486
486
  const methods = useForm2();
487
487
  let fieldSchemas = {};
488
488
  registerFields.forEach((field) => {
489
- var _a2, _b2, _c2, _d2, _e2, _f2;
489
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
490
490
  switch (field) {
491
491
  case "fullname":
492
492
  fieldSchemas["fullName"] = z2.string().optional();
@@ -501,12 +501,14 @@ var RegisterForm = ({
501
501
  required_error: ((_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.required) || "Username is required"
502
502
  }).min(1, {
503
503
  message: ((_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.required) || "Username is required"
504
+ }).max(14, {
505
+ message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.tooLong) || "Username is too long"
504
506
  }).refine(
505
507
  (value) => {
506
508
  const isValid = /^[a-zA-Z][a-zA-Z0-9_-]{2,14}$/.test(value);
507
509
  return isValid;
508
510
  },
509
- { message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.invalid) || "Invalid username" }
511
+ { message: ((_g2 = texts == null ? void 0 : texts.username) == null ? void 0 : _g2.invalid) || "Invalid username" }
510
512
  );
511
513
  break;
512
514
  }
@@ -912,7 +914,11 @@ import React6, { useState as useState3 } from "react";
912
914
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
913
915
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
914
916
  import * as z3 from "zod";
915
- var NewPasswordForm = ({ texts, ...props }) => {
917
+ var NewPasswordForm = ({
918
+ texts,
919
+ isLoading,
920
+ ...props
921
+ }) => {
916
922
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
917
923
  const formSchema = z3.object({
918
924
  password: z3.string({ required_error: (_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.required }).min(8, { message: (_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.tooShort }),
@@ -993,7 +999,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
993
999
  }
994
1000
  )
995
1001
  ),
996
- /* @__PURE__ */ React6.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React6.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React6.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React6.createElement(
1002
+ /* @__PURE__ */ React6.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React6.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React6.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React6.createElement(
997
1003
  "span",
998
1004
  {
999
1005
  className: "clickable-link",
@@ -1011,6 +1017,7 @@ import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
1011
1017
  import * as z4 from "zod";
1012
1018
  var ResetPasswordForm = ({
1013
1019
  allowRegister = true,
1020
+ isLoading,
1014
1021
  ...props
1015
1022
  }) => {
1016
1023
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
@@ -1054,7 +1061,15 @@ var ResetPasswordForm = ({
1054
1061
  }
1055
1062
  }
1056
1063
  )),
1057
- /* @__PURE__ */ React7.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React7.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ React7.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React7.createElement(
1064
+ /* @__PURE__ */ React7.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React7.createElement(
1065
+ Button,
1066
+ {
1067
+ type: "submit",
1068
+ className: "hawa-w-full",
1069
+ isLoading
1070
+ },
1071
+ ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
1072
+ ), allowRegister && /* @__PURE__ */ React7.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React7.createElement(
1058
1073
  "span",
1059
1074
  {
1060
1075
  className: "clickable-link",
@@ -1,5 +1,5 @@
1
1
  import React__default, { FC } from 'react';
2
- import { T as TextInputType, R as RadioOptionType } from '../../textTypes-DAgkNov8.mjs';
2
+ import { T as TextInputType, R as RadioOptionType } from '../../textTypes-0bvyKoeH.mjs';
3
3
 
4
4
  type TabType = {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
1
  import React__default, { FC } from 'react';
2
- import { T as TextInputType, R as RadioOptionType } from '../../textTypes-DAgkNov8.js';
2
+ import { T as TextInputType, R as RadioOptionType } from '../../textTypes-0bvyKoeH.js';
3
3
 
4
4
  type TabType = {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
1
  import { FC, InputHTMLAttributes } from 'react';
2
- import { P as PositionType, D as DirectionType, d as PricingPlanTexts, R as RadioOptionType } from '../../textTypes-DAgkNov8.mjs';
2
+ import { P as PositionType, D as DirectionType, d as PricingPlanTexts, R as RadioOptionType } from '../../textTypes-0bvyKoeH.mjs';
3
3
 
4
4
  type PlanFeature = {
5
5
  soon?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { FC, InputHTMLAttributes } from 'react';
2
- import { P as PositionType, D as DirectionType, d as PricingPlanTexts, R as RadioOptionType } from '../../textTypes-DAgkNov8.js';
2
+ import { P as PositionType, D as DirectionType, d as PricingPlanTexts, R as RadioOptionType } from '../../textTypes-0bvyKoeH.js';
3
3
 
4
4
  type PlanFeature = {
5
5
  soon?: boolean;
package/dist/index.d.mts CHANGED
@@ -1408,6 +1408,7 @@ type PasswordInputType = BaseInputType & {
1408
1408
  };
1409
1409
  type UsernameInputType = TextInputType & {
1410
1410
  tooShort?: string;
1411
+ tooLong?: string;
1411
1412
  };
1412
1413
  type ConfirmInputType = BaseInputType & {
1413
1414
  required?: string;
@@ -1680,6 +1681,7 @@ declare const CheckEmail: FC<CheckEmailBlocks>;
1680
1681
  type NewPasswordTypes = {
1681
1682
  handleNewPassword: (e: any) => void;
1682
1683
  handleRouteToRegister: () => void;
1684
+ isLoading: boolean;
1683
1685
  direction?: DirectionType;
1684
1686
  headless?: boolean;
1685
1687
  allowRegister?: boolean;
@@ -1692,6 +1694,7 @@ type ResetPasswordType = {
1692
1694
  handleResetPassword: (e: any) => void;
1693
1695
  handleRouteToRegister: () => void;
1694
1696
  sent: any;
1697
+ isLoading: boolean;
1695
1698
  headless?: boolean;
1696
1699
  allowRegister?: boolean;
1697
1700
  direction?: DirectionType;
package/dist/index.d.ts CHANGED
@@ -1408,6 +1408,7 @@ type PasswordInputType = BaseInputType & {
1408
1408
  };
1409
1409
  type UsernameInputType = TextInputType & {
1410
1410
  tooShort?: string;
1411
+ tooLong?: string;
1411
1412
  };
1412
1413
  type ConfirmInputType = BaseInputType & {
1413
1414
  required?: string;
@@ -1680,6 +1681,7 @@ declare const CheckEmail: FC<CheckEmailBlocks>;
1680
1681
  type NewPasswordTypes = {
1681
1682
  handleNewPassword: (e: any) => void;
1682
1683
  handleRouteToRegister: () => void;
1684
+ isLoading: boolean;
1683
1685
  direction?: DirectionType;
1684
1686
  headless?: boolean;
1685
1687
  allowRegister?: boolean;
@@ -1692,6 +1694,7 @@ type ResetPasswordType = {
1692
1694
  handleResetPassword: (e: any) => void;
1693
1695
  handleRouteToRegister: () => void;
1694
1696
  sent: any;
1697
+ isLoading: boolean;
1695
1698
  headless?: boolean;
1696
1699
  allowRegister?: boolean;
1697
1700
  direction?: DirectionType;
package/dist/index.js CHANGED
@@ -10432,7 +10432,7 @@ var RegisterForm = ({
10432
10432
  const methods = (0, import_react_hook_form2.useForm)();
10433
10433
  let fieldSchemas = {};
10434
10434
  registerFields.forEach((field) => {
10435
- var _a2, _b2, _c2, _d2, _e2, _f2;
10435
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
10436
10436
  switch (field) {
10437
10437
  case "fullname":
10438
10438
  fieldSchemas["fullName"] = z2.string().optional();
@@ -10447,12 +10447,14 @@ var RegisterForm = ({
10447
10447
  required_error: ((_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.required) || "Username is required"
10448
10448
  }).min(1, {
10449
10449
  message: ((_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.required) || "Username is required"
10450
+ }).max(14, {
10451
+ message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.tooLong) || "Username is too long"
10450
10452
  }).refine(
10451
10453
  (value) => {
10452
10454
  const isValid = /^[a-zA-Z][a-zA-Z0-9_-]{2,14}$/.test(value);
10453
10455
  return isValid;
10454
10456
  },
10455
- { message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.invalid) || "Invalid username" }
10457
+ { message: ((_g2 = texts == null ? void 0 : texts.username) == null ? void 0 : _g2.invalid) || "Invalid username" }
10456
10458
  );
10457
10459
  break;
10458
10460
  }
@@ -10858,7 +10860,11 @@ var import_react64 = __toESM(require("react"));
10858
10860
  var import_react_hook_form3 = require("react-hook-form");
10859
10861
  var import_zod3 = require("@hookform/resolvers/zod");
10860
10862
  var z3 = __toESM(require("zod"));
10861
- var NewPasswordForm = ({ texts, ...props }) => {
10863
+ var NewPasswordForm = ({
10864
+ texts,
10865
+ isLoading,
10866
+ ...props
10867
+ }) => {
10862
10868
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
10863
10869
  const formSchema = z3.object({
10864
10870
  password: z3.string({ required_error: (_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.required }).min(8, { message: (_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.tooShort }),
@@ -10939,7 +10945,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
10939
10945
  }
10940
10946
  )
10941
10947
  ),
10942
- /* @__PURE__ */ import_react64.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react64.default.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react64.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ import_react64.default.createElement(
10948
+ /* @__PURE__ */ import_react64.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react64.default.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ import_react64.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ import_react64.default.createElement(
10943
10949
  "span",
10944
10950
  {
10945
10951
  className: "clickable-link",
@@ -10957,6 +10963,7 @@ var import_zod4 = require("@hookform/resolvers/zod");
10957
10963
  var z4 = __toESM(require("zod"));
10958
10964
  var ResetPasswordForm = ({
10959
10965
  allowRegister = true,
10966
+ isLoading,
10960
10967
  ...props
10961
10968
  }) => {
10962
10969
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
@@ -11000,7 +11007,15 @@ var ResetPasswordForm = ({
11000
11007
  }
11001
11008
  }
11002
11009
  )),
11003
- /* @__PURE__ */ import_react65.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react65.default.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react65.default.createElement(
11010
+ /* @__PURE__ */ import_react65.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react65.default.createElement(
11011
+ Button,
11012
+ {
11013
+ type: "submit",
11014
+ className: "hawa-w-full",
11015
+ isLoading
11016
+ },
11017
+ ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
11018
+ ), allowRegister && /* @__PURE__ */ import_react65.default.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ import_react65.default.createElement(
11004
11019
  "span",
11005
11020
  {
11006
11021
  className: "clickable-link",
package/dist/index.mjs CHANGED
@@ -10209,7 +10209,7 @@ var RegisterForm = ({
10209
10209
  const methods = useForm2();
10210
10210
  let fieldSchemas = {};
10211
10211
  registerFields.forEach((field) => {
10212
- var _a2, _b2, _c2, _d2, _e2, _f2;
10212
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
10213
10213
  switch (field) {
10214
10214
  case "fullname":
10215
10215
  fieldSchemas["fullName"] = z2.string().optional();
@@ -10224,12 +10224,14 @@ var RegisterForm = ({
10224
10224
  required_error: ((_d2 = texts == null ? void 0 : texts.username) == null ? void 0 : _d2.required) || "Username is required"
10225
10225
  }).min(1, {
10226
10226
  message: ((_e2 = texts == null ? void 0 : texts.username) == null ? void 0 : _e2.required) || "Username is required"
10227
+ }).max(14, {
10228
+ message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.tooLong) || "Username is too long"
10227
10229
  }).refine(
10228
10230
  (value) => {
10229
10231
  const isValid = /^[a-zA-Z][a-zA-Z0-9_-]{2,14}$/.test(value);
10230
10232
  return isValid;
10231
10233
  },
10232
- { message: ((_f2 = texts == null ? void 0 : texts.username) == null ? void 0 : _f2.invalid) || "Invalid username" }
10234
+ { message: ((_g2 = texts == null ? void 0 : texts.username) == null ? void 0 : _g2.invalid) || "Invalid username" }
10233
10235
  );
10234
10236
  break;
10235
10237
  }
@@ -10635,7 +10637,11 @@ import React86, { useState as useState41 } from "react";
10635
10637
  import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
10636
10638
  import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
10637
10639
  import * as z3 from "zod";
10638
- var NewPasswordForm = ({ texts, ...props }) => {
10640
+ var NewPasswordForm = ({
10641
+ texts,
10642
+ isLoading,
10643
+ ...props
10644
+ }) => {
10639
10645
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
10640
10646
  const formSchema = z3.object({
10641
10647
  password: z3.string({ required_error: (_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.required }).min(8, { message: (_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.tooShort }),
@@ -10716,7 +10722,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
10716
10722
  }
10717
10723
  )
10718
10724
  ),
10719
- /* @__PURE__ */ React86.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React86.createElement(Button, { className: "hawa-w-full", type: "submit" }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React86.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React86.createElement(
10725
+ /* @__PURE__ */ React86.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React86.createElement(Button, { className: "hawa-w-full", type: "submit", isLoading }, texts == null ? void 0 : texts.updatePassword), props.allowRegister && /* @__PURE__ */ React86.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_h = texts == null ? void 0 : texts.dontHaveAccount) != null ? _h : "Don't have an account? ", /* @__PURE__ */ React86.createElement(
10720
10726
  "span",
10721
10727
  {
10722
10728
  className: "clickable-link",
@@ -10734,6 +10740,7 @@ import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
10734
10740
  import * as z4 from "zod";
10735
10741
  var ResetPasswordForm = ({
10736
10742
  allowRegister = true,
10743
+ isLoading,
10737
10744
  ...props
10738
10745
  }) => {
10739
10746
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
@@ -10777,7 +10784,15 @@ var ResetPasswordForm = ({
10777
10784
  }
10778
10785
  }
10779
10786
  )),
10780
- /* @__PURE__ */ React87.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React87.createElement(Button, { type: "submit", className: "hawa-w-full " }, ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"), allowRegister && /* @__PURE__ */ React87.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React87.createElement(
10787
+ /* @__PURE__ */ React87.createElement(CardFooter, { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React87.createElement(
10788
+ Button,
10789
+ {
10790
+ type: "submit",
10791
+ className: "hawa-w-full",
10792
+ isLoading
10793
+ },
10794
+ ((_i = props.texts) == null ? void 0 : _i.resetPassword) || "Reset Password"
10795
+ ), allowRegister && /* @__PURE__ */ React87.createElement("div", { className: "hawa-mt-4 hawa-pb-0 hawa-text-center hawa-text-sm dark:hawa-text-gray-300" }, (_k = (_j = props.texts) == null ? void 0 : _j.dontHaveAccount) != null ? _k : "Don't have an account? ", /* @__PURE__ */ React87.createElement(
10781
10796
  "span",
10782
10797
  {
10783
10798
  className: "clickable-link",
@@ -44,6 +44,7 @@ type PasswordInputType = BaseInputType & {
44
44
  };
45
45
  type UsernameInputType = TextInputType & {
46
46
  tooShort?: string;
47
+ tooLong?: string;
47
48
  };
48
49
  type ConfirmInputType = BaseInputType & {
49
50
  required?: string;
@@ -44,6 +44,7 @@ type PasswordInputType = BaseInputType & {
44
44
  };
45
45
  type UsernameInputType = TextInputType & {
46
46
  tooShort?: string;
47
+ tooLong?: string;
47
48
  };
48
49
  type ConfirmInputType = BaseInputType & {
49
50
  required?: string;
@@ -65,6 +65,7 @@ type PasswordInputType = BaseInputType & {
65
65
  };
66
66
  type UsernameInputType = TextInputType & {
67
67
  tooShort?: string;
68
+ tooLong?: string;
68
69
  };
69
70
  type ConfirmInputType = BaseInputType & {
70
71
  required?: string;
@@ -65,6 +65,7 @@ type PasswordInputType = BaseInputType & {
65
65
  };
66
66
  type UsernameInputType = TextInputType & {
67
67
  tooShort?: string;
68
+ tooLong?: string;
68
69
  };
69
70
  type ConfirmInputType = BaseInputType & {
70
71
  required?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.30.29-next",
3
+ "version": "0.30.30-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",
@@ -66,11 +66,11 @@
66
66
  "class-variance-authority": "^0.7.0",
67
67
  "clsx": "^2.1.0",
68
68
  "cmdk": "^1.0.0",
69
- "embla-carousel-auto-height": "^8.0.0",
70
- "embla-carousel-react": "^8.0.0",
71
- "eslint": "^8.57.0",
69
+ "embla-carousel-auto-height": "^8.0.1",
70
+ "embla-carousel-react": "^8.0.1",
71
+ "eslint": "^9.0.0",
72
72
  "eslint-config-next": "^14.1.4",
73
- "libphonenumber-js": "^1.10.59",
73
+ "libphonenumber-js": "^1.10.60",
74
74
  "prism-react-renderer": "^2.3.1",
75
75
  "prismjs": "^1.29.0",
76
76
  "react": "18.2.0",
@@ -91,15 +91,15 @@
91
91
  "@testing-library/jest-dom": "^6.4.2",
92
92
  "@testing-library/react": "^14.2.2",
93
93
  "@types/jest": "^29.5.12",
94
- "@types/react": "^18.2.73",
95
- "@types/react-dom": "^18.2.23",
94
+ "@types/react": "^18.2.74",
95
+ "@types/react-dom": "^18.2.24",
96
96
  "autoprefixer": "^10.4.19",
97
97
  "boxen": "^7.1.1",
98
98
  "chalk": "^5.3.0",
99
- "embla-carousel": "8.0.0",
99
+ "embla-carousel": "8.0.1",
100
100
  "jest": "^29.7.0",
101
101
  "jest-environment-jsdom": "^29.7.0",
102
- "lucide-react": "^0.363.0",
102
+ "lucide-react": "^0.365.0",
103
103
  "postcss": "^8.4.38",
104
104
  "postcss-cli": "^11.0.0",
105
105
  "postcss-import": "^16.1.0",