@sikka/hawa 0.30.29-next → 0.31.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 +3 -1
- package/dist/blocks/auth/index.d.ts +3 -1
- package/dist/blocks/auth/index.js +20 -5
- package/dist/blocks/auth/index.mjs +20 -5
- package/dist/blocks/feedback/index.d.mts +1 -1
- package/dist/blocks/feedback/index.d.ts +1 -1
- package/dist/blocks/index.d.mts +2 -0
- package/dist/blocks/index.d.ts +2 -0
- package/dist/blocks/index.js +20 -5
- package/dist/blocks/index.mjs +20 -5
- package/dist/blocks/misc/index.d.mts +1 -1
- package/dist/blocks/misc/index.d.ts +1 -1
- package/dist/blocks/pricing/index.d.mts +1 -1
- package/dist/blocks/pricing/index.d.ts +1 -1
- package/dist/commonTypes-eIwARo5g.d.mts +4 -0
- package/dist/commonTypes-eIwARo5g.d.ts +4 -0
- package/dist/index.css +26 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +20 -5
- package/dist/index.mjs +20 -5
- package/dist/sonner/index.d.mts +11 -0
- package/dist/sonner/index.d.ts +11 -0
- package/dist/sonner/index.js +56 -0
- package/dist/sonner/index.js.map +1 -0
- package/dist/sonner/index.mjs +29 -0
- package/dist/sonner/index.mjs.map +1 -0
- package/dist/switch/index.d.mts +1 -2
- package/dist/switch/index.d.ts +1 -2
- package/dist/tabs/index.d.mts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/{textTypes-DAgkNov8.d.mts → textTypes-0bvyKoeH.d.mts} +1 -0
- package/dist/{textTypes-DAgkNov8.d.ts → textTypes-0bvyKoeH.d.ts} +1 -0
- package/dist/textarea/index.d.mts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/toast/index.d.mts +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toaster/index.d.mts +4 -22
- package/dist/toaster/index.d.ts +4 -22
- package/dist/types/index.d.mts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +11 -10
- package/dist/commonTypes-MeUyaBib.d.mts +0 -5
- package/dist/commonTypes-MeUyaBib.d.ts +0 -5
@@ -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-
|
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-
|
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: ((
|
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 = ({
|
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(
|
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: ((
|
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 = ({
|
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(
|
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",
|
package/dist/blocks/index.d.mts
CHANGED
@@ -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;
|
package/dist/blocks/index.d.ts
CHANGED
@@ -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;
|
package/dist/blocks/index.js
CHANGED
@@ -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: ((
|
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 = ({
|
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(
|
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",
|
package/dist/blocks/index.mjs
CHANGED
@@ -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: ((
|
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 = ({
|
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(
|
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 { FC, InputHTMLAttributes } from 'react';
|
2
|
-
import { P as PositionType, D as DirectionType, d as PricingPlanTexts, R as RadioOptionType } from '../../textTypes-
|
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-
|
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.css
CHANGED
@@ -3574,13 +3574,39 @@ body {
|
|
3574
3574
|
.hawa-group.success .group-\[\.success\]\:hawa-border-muted\/40 {
|
3575
3575
|
border-color: hsl(var(--muted) / 0.4);
|
3576
3576
|
}
|
3577
|
+
.hawa-group.toaster .group-\[\.toaster\]\:hawa-border-border {
|
3578
|
+
border-color: hsl(var(--border));
|
3579
|
+
}
|
3577
3580
|
.hawa-group.warning .group-\[\.warning\]\:hawa-border-muted\/40 {
|
3578
3581
|
border-color: hsl(var(--muted) / 0.4);
|
3579
3582
|
}
|
3583
|
+
.hawa-group.toast .group-\[\.toast\]\:hawa-bg-muted {
|
3584
|
+
background-color: hsl(var(--muted));
|
3585
|
+
}
|
3586
|
+
.hawa-group.toast .group-\[\.toast\]\:hawa-bg-primary {
|
3587
|
+
background-color: hsl(var(--primary));
|
3588
|
+
}
|
3589
|
+
.hawa-group.toaster .group-\[\.toaster\]\:hawa-bg-background {
|
3590
|
+
background-color: hsl(var(--background));
|
3591
|
+
}
|
3580
3592
|
.hawa-group.destructive .group-\[\.destructive\]\:hawa-text-red-300 {
|
3581
3593
|
--tw-text-opacity: 1;
|
3582
3594
|
color: rgb(252 165 165 / var(--tw-text-opacity));
|
3583
3595
|
}
|
3596
|
+
.hawa-group.toast .group-\[\.toast\]\:hawa-text-muted-foreground {
|
3597
|
+
color: hsl(var(--muted-foreground));
|
3598
|
+
}
|
3599
|
+
.hawa-group.toast .group-\[\.toast\]\:hawa-text-primary-foreground {
|
3600
|
+
color: hsl(var(--primary-foreground));
|
3601
|
+
}
|
3602
|
+
.hawa-group.toaster .group-\[\.toaster\]\:hawa-text-foreground {
|
3603
|
+
color: hsl(var(--foreground));
|
3604
|
+
}
|
3605
|
+
.hawa-group.toaster .group-\[\.toaster\]\:hawa-shadow-lg {
|
3606
|
+
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
3607
|
+
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
3608
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
3609
|
+
}
|
3584
3610
|
.hawa-group.error .group-\[\.error\]\:hover\:hawa-border-error\/30:hover {
|
3585
3611
|
border-color: hsl(var(--error) / 0.3);
|
3586
3612
|
}
|
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: ((
|
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 = ({
|
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(
|
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: ((
|
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 = ({
|
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(
|
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",
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import * as React$1 from 'react';
|
2
|
+
import { D as DirectionType } from '../commonTypes-2k6FnHw5.mjs';
|
3
|
+
import { toast, Toaster } from 'sonner';
|
4
|
+
|
5
|
+
type SonnerProps = React.ComponentProps<typeof Toaster> & {
|
6
|
+
direction?: DirectionType;
|
7
|
+
};
|
8
|
+
declare const Sonner: ({ ...props }: SonnerProps) => React$1.JSX.Element;
|
9
|
+
declare const createSonner: typeof toast;
|
10
|
+
|
11
|
+
export { Sonner, createSonner };
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import * as React$1 from 'react';
|
2
|
+
import { D as DirectionType } from '../commonTypes-2k6FnHw5.js';
|
3
|
+
import { toast, Toaster } from 'sonner';
|
4
|
+
|
5
|
+
type SonnerProps = React.ComponentProps<typeof Toaster> & {
|
6
|
+
direction?: DirectionType;
|
7
|
+
};
|
8
|
+
declare const Sonner: ({ ...props }: SonnerProps) => React$1.JSX.Element;
|
9
|
+
declare const createSonner: typeof toast;
|
10
|
+
|
11
|
+
export { Sonner, createSonner };
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use client";
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// elements/sonner/index.ts
|
22
|
+
var sonner_exports = {};
|
23
|
+
__export(sonner_exports, {
|
24
|
+
Sonner: () => Sonner,
|
25
|
+
createSonner: () => createSonner
|
26
|
+
});
|
27
|
+
module.exports = __toCommonJS(sonner_exports);
|
28
|
+
|
29
|
+
// elements/sonner/Sonner.tsx
|
30
|
+
var import_sonner = require("sonner");
|
31
|
+
var Sonner = ({ ...props }) => {
|
32
|
+
return /* @__PURE__ */ React.createElement(
|
33
|
+
import_sonner.Toaster,
|
34
|
+
{
|
35
|
+
dir: props.direction,
|
36
|
+
position: props.direction === "rtl" ? "bottom-left" : "bottom-right",
|
37
|
+
className: "toaster group",
|
38
|
+
toastOptions: {
|
39
|
+
classNames: {
|
40
|
+
toast: "group toast group-[.toaster]:hawa-bg-background group-[.toaster]:hawa-text-foreground group-[.toaster]:hawa-border-border group-[.toaster]:hawa-shadow-lg",
|
41
|
+
description: "group-[.toast]:text-muted-foreground",
|
42
|
+
actionButton: "group-[.toast]:hawa-bg-primary group-[.toast]:hawa-text-primary-foreground",
|
43
|
+
cancelButton: "group-[.toast]:hawa-bg-muted group-[.toast]:hawa-text-muted-foreground"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
...props
|
47
|
+
}
|
48
|
+
);
|
49
|
+
};
|
50
|
+
var createSonner = import_sonner.toast;
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
52
|
+
0 && (module.exports = {
|
53
|
+
Sonner,
|
54
|
+
createSonner
|
55
|
+
});
|
56
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../elements/sonner/index.ts","../../elements/sonner/Sonner.tsx"],"sourcesContent":["export * from \"./Sonner\";\n","import { DirectionType } from \"@_types/commonTypes\";\nimport { Toaster as SonnerToaster, toast, ToastT } from \"sonner\";\n\ntype SonnerProps = React.ComponentProps<typeof SonnerToaster> & {\n direction?: DirectionType;\n};\n\nconst Sonner = ({ ...props }: SonnerProps) => {\n return (\n <SonnerToaster\n // theme={theme as SonnerProps[\"theme\"]}\n\n dir={props.direction}\n position={props.direction === \"rtl\" ? \"bottom-left\" : \"bottom-right\"}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n \"group toast group-[.toaster]:hawa-bg-background group-[.toaster]:hawa-text-foreground group-[.toaster]:hawa-border-border group-[.toaster]:hawa-shadow-lg\",\n description: \"group-[.toast]:text-muted-foreground\",\n actionButton:\n \"group-[.toast]:hawa-bg-primary group-[.toast]:hawa-text-primary-foreground\",\n cancelButton:\n \"group-[.toast]:hawa-bg-muted group-[.toast]:hawa-text-muted-foreground\",\n },\n }}\n {...props}\n />\n );\n};\n\nconst createSonner: typeof toast = toast;\n\nexport { Sonner, createSonner };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,oBAAwD;AAMxD,IAAM,SAAS,CAAC,EAAE,GAAG,MAAM,MAAmB;AAC5C,SACE;AAAA,IAAC,cAAAA;AAAA,IAAA;AAAA,MAGC,KAAK,MAAM;AAAA,MACX,UAAU,MAAM,cAAc,QAAQ,gBAAgB;AAAA,MACtD,WAAU;AAAA,MACV,cAAc;AAAA,QACZ,YAAY;AAAA,UACV,OACE;AAAA,UACF,aAAa;AAAA,UACb,cACE;AAAA,UACF,cACE;AAAA,QACJ;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;AAEA,IAAM,eAA6B;","names":["SonnerToaster"]}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use client";
|
2
|
+
|
3
|
+
// elements/sonner/Sonner.tsx
|
4
|
+
import { Toaster as SonnerToaster, toast } from "sonner";
|
5
|
+
var Sonner = ({ ...props }) => {
|
6
|
+
return /* @__PURE__ */ React.createElement(
|
7
|
+
SonnerToaster,
|
8
|
+
{
|
9
|
+
dir: props.direction,
|
10
|
+
position: props.direction === "rtl" ? "bottom-left" : "bottom-right",
|
11
|
+
className: "toaster group",
|
12
|
+
toastOptions: {
|
13
|
+
classNames: {
|
14
|
+
toast: "group toast group-[.toaster]:hawa-bg-background group-[.toaster]:hawa-text-foreground group-[.toaster]:hawa-border-border group-[.toaster]:hawa-shadow-lg",
|
15
|
+
description: "group-[.toast]:text-muted-foreground",
|
16
|
+
actionButton: "group-[.toast]:hawa-bg-primary group-[.toast]:hawa-text-primary-foreground",
|
17
|
+
cancelButton: "group-[.toast]:hawa-bg-muted group-[.toast]:hawa-text-muted-foreground"
|
18
|
+
}
|
19
|
+
},
|
20
|
+
...props
|
21
|
+
}
|
22
|
+
);
|
23
|
+
};
|
24
|
+
var createSonner = toast;
|
25
|
+
export {
|
26
|
+
Sonner,
|
27
|
+
createSonner
|
28
|
+
};
|
29
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../elements/sonner/Sonner.tsx"],"sourcesContent":["import { DirectionType } from \"@_types/commonTypes\";\nimport { Toaster as SonnerToaster, toast, ToastT } from \"sonner\";\n\ntype SonnerProps = React.ComponentProps<typeof SonnerToaster> & {\n direction?: DirectionType;\n};\n\nconst Sonner = ({ ...props }: SonnerProps) => {\n return (\n <SonnerToaster\n // theme={theme as SonnerProps[\"theme\"]}\n\n dir={props.direction}\n position={props.direction === \"rtl\" ? \"bottom-left\" : \"bottom-right\"}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n \"group toast group-[.toaster]:hawa-bg-background group-[.toaster]:hawa-text-foreground group-[.toaster]:hawa-border-border group-[.toaster]:hawa-shadow-lg\",\n description: \"group-[.toast]:text-muted-foreground\",\n actionButton:\n \"group-[.toast]:hawa-bg-primary group-[.toast]:hawa-text-primary-foreground\",\n cancelButton:\n \"group-[.toast]:hawa-bg-muted group-[.toast]:hawa-text-muted-foreground\",\n },\n }}\n {...props}\n />\n );\n};\n\nconst createSonner: typeof toast = toast;\n\nexport { Sonner, createSonner };\n"],"mappings":";;;AACA,SAAS,WAAW,eAAe,aAAqB;AAMxD,IAAM,SAAS,CAAC,EAAE,GAAG,MAAM,MAAmB;AAC5C,SACE;AAAA,IAAC;AAAA;AAAA,MAGC,KAAK,MAAM;AAAA,MACX,UAAU,MAAM,cAAc,QAAQ,gBAAgB;AAAA,MACtD,WAAU;AAAA,MACV,cAAc;AAAA,QACZ,YAAY;AAAA,UACV,OACE;AAAA,UACF,aAAa;AAAA,UACb,cACE;AAAA,UACF,cACE;AAAA,QACJ;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;AAEA,IAAM,eAA6B;","names":[]}
|
package/dist/switch/index.d.mts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
3
|
-
|
4
|
-
type RadiusType = "full" | "inherit" | "none";
|
3
|
+
import { R as RadiusType } from '../commonTypes-2k6FnHw5.mjs';
|
5
4
|
|
6
5
|
interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
|
7
6
|
size?: "default" | "sm" | "lg";
|
package/dist/switch/index.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
3
|
-
|
4
|
-
type RadiusType = "full" | "inherit" | "none";
|
3
|
+
import { R as RadiusType } from '../commonTypes-2k6FnHw5.js';
|
5
4
|
|
6
5
|
interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
|
7
6
|
size?: "default" | "sm" | "lg";
|
package/dist/tabs/index.d.mts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default from 'react';
|
3
3
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
4
|
-
import { R as RadiusType } from '../commonTypes-
|
4
|
+
import { R as RadiusType } from '../commonTypes-eIwARo5g.mjs';
|
5
5
|
|
6
6
|
type ChipColors = "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
|
7
7
|
type ChipTypes = React__default.HTMLAttributes<HTMLSpanElement> & {
|
package/dist/tabs/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default from 'react';
|
3
3
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
4
|
-
import { R as RadiusType } from '../commonTypes-
|
4
|
+
import { R as RadiusType } from '../commonTypes-eIwARo5g.js';
|
5
5
|
|
6
6
|
type ChipColors = "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
|
7
7
|
type ChipTypes = React__default.HTMLAttributes<HTMLSpanElement> & {
|
package/dist/textarea/index.d.ts
CHANGED
package/dist/toast/index.d.mts
CHANGED
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
2
2
|
import * as React from 'react';
|
3
3
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
5
|
-
import { D as DirectionType } from '../commonTypes-
|
5
|
+
import { D as DirectionType } from '../commonTypes-_11epZYh.mjs';
|
6
6
|
|
7
7
|
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
8
8
|
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
package/dist/toast/index.d.ts
CHANGED
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
2
2
|
import * as React from 'react';
|
3
3
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
5
|
-
import { D as DirectionType } from '../commonTypes-
|
5
|
+
import { D as DirectionType } from '../commonTypes-_11epZYh.js';
|
6
6
|
|
7
7
|
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
8
8
|
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
package/dist/toaster/index.d.mts
CHANGED
@@ -1,27 +1,9 @@
|
|
1
|
-
import * as React from 'react';
|
2
1
|
import React__default from 'react';
|
3
2
|
import { D as DirectionType } from '../commonTypes-_11epZYh.mjs';
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
|
8
|
-
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
9
|
-
variant?: "default" | "destructive" | null | undefined;
|
10
|
-
severity?: "info" | "warning" | "error" | "success" | "none" | null | undefined;
|
11
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
12
|
-
direction?: DirectionType | undefined;
|
13
|
-
} & React.RefAttributes<HTMLLIElement>>;
|
14
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
15
|
-
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
16
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
17
|
-
type ToasterToastProps = ToastProps & {
|
18
|
-
id: string;
|
19
|
-
title?: React.ReactNode;
|
20
|
-
description?: React.ReactNode;
|
21
|
-
severity?: "info" | "warning" | "error" | "success" | "none";
|
22
|
-
action?: ToastActionElement;
|
23
|
-
size?: "default" | "sm";
|
24
|
-
};
|
3
|
+
import { ToasterToastProps } from '../toast/index.mjs';
|
4
|
+
import 'class-variance-authority/types';
|
5
|
+
import '@radix-ui/react-toast';
|
6
|
+
import 'class-variance-authority';
|
25
7
|
|
26
8
|
type ToasterProps = {
|
27
9
|
direction?: DirectionType;
|
package/dist/toaster/index.d.ts
CHANGED
@@ -1,27 +1,9 @@
|
|
1
|
-
import * as React from 'react';
|
2
1
|
import React__default from 'react';
|
3
2
|
import { D as DirectionType } from '../commonTypes-_11epZYh.js';
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
|
8
|
-
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
9
|
-
variant?: "default" | "destructive" | null | undefined;
|
10
|
-
severity?: "info" | "warning" | "error" | "success" | "none" | null | undefined;
|
11
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
12
|
-
direction?: DirectionType | undefined;
|
13
|
-
} & React.RefAttributes<HTMLLIElement>>;
|
14
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
15
|
-
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
16
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
17
|
-
type ToasterToastProps = ToastProps & {
|
18
|
-
id: string;
|
19
|
-
title?: React.ReactNode;
|
20
|
-
description?: React.ReactNode;
|
21
|
-
severity?: "info" | "warning" | "error" | "success" | "none";
|
22
|
-
action?: ToastActionElement;
|
23
|
-
size?: "default" | "sm";
|
24
|
-
};
|
3
|
+
import { ToasterToastProps } from '../toast/index.js';
|
4
|
+
import 'class-variance-authority/types';
|
5
|
+
import '@radix-ui/react-toast';
|
6
|
+
import 'class-variance-authority';
|
25
7
|
|
26
8
|
type ToasterProps = {
|
27
9
|
direction?: DirectionType;
|
package/dist/types/index.d.mts
CHANGED
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sikka/hawa",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.31.0-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.
|
70
|
-
"embla-carousel-react": "^8.0.
|
71
|
-
"eslint": "^
|
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.
|
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",
|
@@ -80,6 +80,7 @@
|
|
80
80
|
"react-hook-form": "^7.51.2",
|
81
81
|
"react-select": "^5.8.0",
|
82
82
|
"signature_pad": "^4.2.0",
|
83
|
+
"sonner": "^1.2.3",
|
83
84
|
"tailwind-merge": "^2.2.2",
|
84
85
|
"tailwind-variants": "^0.2.1",
|
85
86
|
"trim-canvas": "^0.1.2",
|
@@ -89,17 +90,17 @@
|
|
89
90
|
"@babel/preset-react": "^7.24.1",
|
90
91
|
"@sikka/alam": "^0.0.4",
|
91
92
|
"@testing-library/jest-dom": "^6.4.2",
|
92
|
-
"@testing-library/react": "^14.
|
93
|
+
"@testing-library/react": "^14.3.0",
|
93
94
|
"@types/jest": "^29.5.12",
|
94
|
-
"@types/react": "^18.2.
|
95
|
-
"@types/react-dom": "^18.2.
|
95
|
+
"@types/react": "^18.2.74",
|
96
|
+
"@types/react-dom": "^18.2.24",
|
96
97
|
"autoprefixer": "^10.4.19",
|
97
98
|
"boxen": "^7.1.1",
|
98
99
|
"chalk": "^5.3.0",
|
99
|
-
"embla-carousel": "8.0.
|
100
|
+
"embla-carousel": "8.0.1",
|
100
101
|
"jest": "^29.7.0",
|
101
102
|
"jest-environment-jsdom": "^29.7.0",
|
102
|
-
"lucide-react": "^0.
|
103
|
+
"lucide-react": "^0.365.0",
|
103
104
|
"postcss": "^8.4.38",
|
104
105
|
"postcss-cli": "^11.0.0",
|
105
106
|
"postcss-import": "^16.1.0",
|