@sikka/hawa 0.42.8-next → 0.42.9-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 +4 -2
- package/dist/blocks/auth/index.d.ts +4 -2
- package/dist/blocks/auth/index.js +19 -14
- package/dist/blocks/auth/index.mjs +19 -14
- package/dist/blocks/index.d.mts +4 -2
- package/dist/blocks/index.d.ts +4 -2
- package/dist/blocks/index.js +19 -14
- package/dist/blocks/index.mjs +7 -2
- package/dist/{chunk-RIZBMJNK.mjs → chunk-NPYUEHMC.mjs} +13 -13
- package/dist/elements/index.js +13 -13
- package/dist/elements/index.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +19 -14
- package/dist/index.mjs +19 -14
- package/dist/pinInput/index.js +13 -13
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +13 -13
- package/dist/pinInput/index.mjs.map +1 -1
- package/package.json +7 -7
@@ -59,13 +59,15 @@ type PhoneInputProps = {
|
|
59
59
|
type LoginFormTypes = {
|
60
60
|
/** Object containing text labels used throughout the form. */
|
61
61
|
texts?: LoginFormTextsTypes;
|
62
|
-
/** If true, only logos are displayed in third-party auth buttons
|
62
|
+
/** If true, only logos are displayed in third-party auth buttons.*/
|
63
63
|
logosOnly?: boolean;
|
64
64
|
/** Direction of text and UI elements, either left-to-right or right-to-left. */
|
65
65
|
direction?: DirectionType;
|
66
66
|
/** If true, an error alert is displayed at the top of the form. */
|
67
67
|
showError?: boolean;
|
68
|
-
/**
|
68
|
+
/** Callback function triggered when the error alert is dismissed. */
|
69
|
+
onErrorDismissed?: () => void;
|
70
|
+
/** Title text of error alert.*/
|
69
71
|
errorTitle?: string;
|
70
72
|
/** Description text of error alert. */
|
71
73
|
errorText?: string;
|
@@ -59,13 +59,15 @@ type PhoneInputProps = {
|
|
59
59
|
type LoginFormTypes = {
|
60
60
|
/** Object containing text labels used throughout the form. */
|
61
61
|
texts?: LoginFormTextsTypes;
|
62
|
-
/** If true, only logos are displayed in third-party auth buttons
|
62
|
+
/** If true, only logos are displayed in third-party auth buttons.*/
|
63
63
|
logosOnly?: boolean;
|
64
64
|
/** Direction of text and UI elements, either left-to-right or right-to-left. */
|
65
65
|
direction?: DirectionType;
|
66
66
|
/** If true, an error alert is displayed at the top of the form. */
|
67
67
|
showError?: boolean;
|
68
|
-
/**
|
68
|
+
/** Callback function triggered when the error alert is dismissed. */
|
69
|
+
onErrorDismissed?: () => void;
|
70
|
+
/** Title text of error alert.*/
|
69
71
|
errorTitle?: string;
|
70
72
|
/** Description text of error alert. */
|
71
73
|
errorText?: string;
|
@@ -3788,7 +3788,12 @@ var LoginForm = ({
|
|
3788
3788
|
direction: props.direction,
|
3789
3789
|
title: props.errorTitle,
|
3790
3790
|
text: props.errorText,
|
3791
|
-
severity: "error"
|
3791
|
+
severity: "error",
|
3792
|
+
onAlertClosed: () => {
|
3793
|
+
if (props.onErrorDismissed) {
|
3794
|
+
props.onErrorDismissed();
|
3795
|
+
}
|
3796
|
+
}
|
3792
3797
|
}
|
3793
3798
|
), /* @__PURE__ */ import_react14.default.createElement(
|
3794
3799
|
"form",
|
@@ -4644,19 +4649,19 @@ var z5 = __toESM(require("zod"));
|
|
4644
4649
|
var React25 = __toESM(require("react"));
|
4645
4650
|
var import_input_otp = require("input-otp");
|
4646
4651
|
|
4647
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4652
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
4648
4653
|
var import_react23 = require("react");
|
4649
4654
|
|
4650
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4655
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
4651
4656
|
var toKebabCase = (string6) => string6.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
4652
4657
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
4653
4658
|
return Boolean(className) && array.indexOf(className) === index;
|
4654
4659
|
}).join(" ");
|
4655
4660
|
|
4656
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4661
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
4657
4662
|
var import_react22 = require("react");
|
4658
4663
|
|
4659
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4664
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
4660
4665
|
var defaultAttributes = {
|
4661
4666
|
xmlns: "http://www.w3.org/2000/svg",
|
4662
4667
|
width: 24,
|
@@ -4669,7 +4674,7 @@ var defaultAttributes = {
|
|
4669
4674
|
strokeLinejoin: "round"
|
4670
4675
|
};
|
4671
4676
|
|
4672
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4677
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
4673
4678
|
var Icon = (0, import_react22.forwardRef)(
|
4674
4679
|
({
|
4675
4680
|
color = "currentColor",
|
@@ -4701,7 +4706,7 @@ var Icon = (0, import_react22.forwardRef)(
|
|
4701
4706
|
}
|
4702
4707
|
);
|
4703
4708
|
|
4704
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4709
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
4705
4710
|
var createLucideIcon = (iconName, iconNode) => {
|
4706
4711
|
const Component = (0, import_react23.forwardRef)(
|
4707
4712
|
({ className, ...props }, ref) => (0, import_react23.createElement)(Icon, {
|
@@ -4715,7 +4720,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
4715
4720
|
return Component;
|
4716
4721
|
};
|
4717
4722
|
|
4718
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4723
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
4719
4724
|
var Dot = createLucideIcon("Dot", [
|
4720
4725
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
4721
4726
|
]);
|
@@ -4893,7 +4898,7 @@ var CodeConfirmation = ({
|
|
4893
4898
|
|
4894
4899
|
lucide-react/dist/esm/shared/src/utils.js:
|
4895
4900
|
(**
|
4896
|
-
* @license lucide-react v0.
|
4901
|
+
* @license lucide-react v0.408.0 - ISC
|
4897
4902
|
*
|
4898
4903
|
* This source code is licensed under the ISC license.
|
4899
4904
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -4901,7 +4906,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
4901
4906
|
|
4902
4907
|
lucide-react/dist/esm/defaultAttributes.js:
|
4903
4908
|
(**
|
4904
|
-
* @license lucide-react v0.
|
4909
|
+
* @license lucide-react v0.408.0 - ISC
|
4905
4910
|
*
|
4906
4911
|
* This source code is licensed under the ISC license.
|
4907
4912
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -4909,7 +4914,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
4909
4914
|
|
4910
4915
|
lucide-react/dist/esm/Icon.js:
|
4911
4916
|
(**
|
4912
|
-
* @license lucide-react v0.
|
4917
|
+
* @license lucide-react v0.408.0 - ISC
|
4913
4918
|
*
|
4914
4919
|
* This source code is licensed under the ISC license.
|
4915
4920
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -4917,7 +4922,7 @@ lucide-react/dist/esm/Icon.js:
|
|
4917
4922
|
|
4918
4923
|
lucide-react/dist/esm/createLucideIcon.js:
|
4919
4924
|
(**
|
4920
|
-
* @license lucide-react v0.
|
4925
|
+
* @license lucide-react v0.408.0 - ISC
|
4921
4926
|
*
|
4922
4927
|
* This source code is licensed under the ISC license.
|
4923
4928
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -4925,7 +4930,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
4925
4930
|
|
4926
4931
|
lucide-react/dist/esm/icons/dot.js:
|
4927
4932
|
(**
|
4928
|
-
* @license lucide-react v0.
|
4933
|
+
* @license lucide-react v0.408.0 - ISC
|
4929
4934
|
*
|
4930
4935
|
* This source code is licensed under the ISC license.
|
4931
4936
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -4933,7 +4938,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
4933
4938
|
|
4934
4939
|
lucide-react/dist/esm/lucide-react.js:
|
4935
4940
|
(**
|
4936
|
-
* @license lucide-react v0.
|
4941
|
+
* @license lucide-react v0.408.0 - ISC
|
4937
4942
|
*
|
4938
4943
|
* This source code is licensed under the ISC license.
|
4939
4944
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -2815,7 +2815,12 @@ var LoginForm = ({
|
|
2815
2815
|
direction: props.direction,
|
2816
2816
|
title: props.errorTitle,
|
2817
2817
|
text: props.errorText,
|
2818
|
-
severity: "error"
|
2818
|
+
severity: "error",
|
2819
|
+
onAlertClosed: () => {
|
2820
|
+
if (props.onErrorDismissed) {
|
2821
|
+
props.onErrorDismissed();
|
2822
|
+
}
|
2823
|
+
}
|
2819
2824
|
}
|
2820
2825
|
), /* @__PURE__ */ React5.createElement(
|
2821
2826
|
"form",
|
@@ -3662,19 +3667,19 @@ import * as z5 from "zod";
|
|
3662
3667
|
import * as React12 from "react";
|
3663
3668
|
import { OTPInput, OTPInputContext } from "input-otp";
|
3664
3669
|
|
3665
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
3670
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
3666
3671
|
import { forwardRef as forwardRef3, createElement as createElement3 } from "react";
|
3667
3672
|
|
3668
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
3673
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
3669
3674
|
var toKebabCase = (string6) => string6.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
3670
3675
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
3671
3676
|
return Boolean(className) && array.indexOf(className) === index;
|
3672
3677
|
}).join(" ");
|
3673
3678
|
|
3674
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
3679
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
3675
3680
|
import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
|
3676
3681
|
|
3677
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
3682
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
3678
3683
|
var defaultAttributes = {
|
3679
3684
|
xmlns: "http://www.w3.org/2000/svg",
|
3680
3685
|
width: 24,
|
@@ -3687,7 +3692,7 @@ var defaultAttributes = {
|
|
3687
3692
|
strokeLinejoin: "round"
|
3688
3693
|
};
|
3689
3694
|
|
3690
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
3695
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
3691
3696
|
var Icon = forwardRef2(
|
3692
3697
|
({
|
3693
3698
|
color = "currentColor",
|
@@ -3719,7 +3724,7 @@ var Icon = forwardRef2(
|
|
3719
3724
|
}
|
3720
3725
|
);
|
3721
3726
|
|
3722
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
3727
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
3723
3728
|
var createLucideIcon = (iconName, iconNode) => {
|
3724
3729
|
const Component = forwardRef3(
|
3725
3730
|
({ className, ...props }, ref) => createElement3(Icon, {
|
@@ -3733,7 +3738,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
3733
3738
|
return Component;
|
3734
3739
|
};
|
3735
3740
|
|
3736
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
3741
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
3737
3742
|
var Dot = createLucideIcon("Dot", [
|
3738
3743
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
3739
3744
|
]);
|
@@ -3910,7 +3915,7 @@ export {
|
|
3910
3915
|
|
3911
3916
|
lucide-react/dist/esm/shared/src/utils.js:
|
3912
3917
|
(**
|
3913
|
-
* @license lucide-react v0.
|
3918
|
+
* @license lucide-react v0.408.0 - ISC
|
3914
3919
|
*
|
3915
3920
|
* This source code is licensed under the ISC license.
|
3916
3921
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3918,7 +3923,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
3918
3923
|
|
3919
3924
|
lucide-react/dist/esm/defaultAttributes.js:
|
3920
3925
|
(**
|
3921
|
-
* @license lucide-react v0.
|
3926
|
+
* @license lucide-react v0.408.0 - ISC
|
3922
3927
|
*
|
3923
3928
|
* This source code is licensed under the ISC license.
|
3924
3929
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3926,7 +3931,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
3926
3931
|
|
3927
3932
|
lucide-react/dist/esm/Icon.js:
|
3928
3933
|
(**
|
3929
|
-
* @license lucide-react v0.
|
3934
|
+
* @license lucide-react v0.408.0 - ISC
|
3930
3935
|
*
|
3931
3936
|
* This source code is licensed under the ISC license.
|
3932
3937
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3934,7 +3939,7 @@ lucide-react/dist/esm/Icon.js:
|
|
3934
3939
|
|
3935
3940
|
lucide-react/dist/esm/createLucideIcon.js:
|
3936
3941
|
(**
|
3937
|
-
* @license lucide-react v0.
|
3942
|
+
* @license lucide-react v0.408.0 - ISC
|
3938
3943
|
*
|
3939
3944
|
* This source code is licensed under the ISC license.
|
3940
3945
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3942,7 +3947,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
3942
3947
|
|
3943
3948
|
lucide-react/dist/esm/icons/dot.js:
|
3944
3949
|
(**
|
3945
|
-
* @license lucide-react v0.
|
3950
|
+
* @license lucide-react v0.408.0 - ISC
|
3946
3951
|
*
|
3947
3952
|
* This source code is licensed under the ISC license.
|
3948
3953
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3950,7 +3955,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
3950
3955
|
|
3951
3956
|
lucide-react/dist/esm/lucide-react.js:
|
3952
3957
|
(**
|
3953
|
-
* @license lucide-react v0.
|
3958
|
+
* @license lucide-react v0.408.0 - ISC
|
3954
3959
|
*
|
3955
3960
|
* This source code is licensed under the ISC license.
|
3956
3961
|
* See the LICENSE file in the root directory of this source tree.
|
package/dist/blocks/index.d.mts
CHANGED
@@ -41,13 +41,15 @@ declare const AuthButtons: React__default.FC<AuthButtonsType>;
|
|
41
41
|
type LoginFormTypes = {
|
42
42
|
/** Object containing text labels used throughout the form. */
|
43
43
|
texts?: LoginFormTextsTypes;
|
44
|
-
/** If true, only logos are displayed in third-party auth buttons
|
44
|
+
/** If true, only logos are displayed in third-party auth buttons.*/
|
45
45
|
logosOnly?: boolean;
|
46
46
|
/** Direction of text and UI elements, either left-to-right or right-to-left. */
|
47
47
|
direction?: DirectionType;
|
48
48
|
/** If true, an error alert is displayed at the top of the form. */
|
49
49
|
showError?: boolean;
|
50
|
-
/**
|
50
|
+
/** Callback function triggered when the error alert is dismissed. */
|
51
|
+
onErrorDismissed?: () => void;
|
52
|
+
/** Title text of error alert.*/
|
51
53
|
errorTitle?: string;
|
52
54
|
/** Description text of error alert. */
|
53
55
|
errorText?: string;
|
package/dist/blocks/index.d.ts
CHANGED
@@ -41,13 +41,15 @@ declare const AuthButtons: React__default.FC<AuthButtonsType>;
|
|
41
41
|
type LoginFormTypes = {
|
42
42
|
/** Object containing text labels used throughout the form. */
|
43
43
|
texts?: LoginFormTextsTypes;
|
44
|
-
/** If true, only logos are displayed in third-party auth buttons
|
44
|
+
/** If true, only logos are displayed in third-party auth buttons.*/
|
45
45
|
logosOnly?: boolean;
|
46
46
|
/** Direction of text and UI elements, either left-to-right or right-to-left. */
|
47
47
|
direction?: DirectionType;
|
48
48
|
/** If true, an error alert is displayed at the top of the form. */
|
49
49
|
showError?: boolean;
|
50
|
-
/**
|
50
|
+
/** Callback function triggered when the error alert is dismissed. */
|
51
|
+
onErrorDismissed?: () => void;
|
52
|
+
/** Title text of error alert.*/
|
51
53
|
errorTitle?: string;
|
52
54
|
/** Description text of error alert. */
|
53
55
|
errorText?: string;
|
package/dist/blocks/index.js
CHANGED
@@ -3945,7 +3945,12 @@ var LoginForm = ({
|
|
3945
3945
|
direction: props.direction,
|
3946
3946
|
title: props.errorTitle,
|
3947
3947
|
text: props.errorText,
|
3948
|
-
severity: "error"
|
3948
|
+
severity: "error",
|
3949
|
+
onAlertClosed: () => {
|
3950
|
+
if (props.onErrorDismissed) {
|
3951
|
+
props.onErrorDismissed();
|
3952
|
+
}
|
3953
|
+
}
|
3949
3954
|
}
|
3950
3955
|
), /* @__PURE__ */ import_react14.default.createElement(
|
3951
3956
|
"form",
|
@@ -4801,19 +4806,19 @@ var z5 = __toESM(require("zod"));
|
|
4801
4806
|
var React25 = __toESM(require("react"));
|
4802
4807
|
var import_input_otp = require("input-otp");
|
4803
4808
|
|
4804
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4809
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
4805
4810
|
var import_react23 = require("react");
|
4806
4811
|
|
4807
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4812
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
4808
4813
|
var toKebabCase = (string9) => string9.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
4809
4814
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
4810
4815
|
return Boolean(className) && array.indexOf(className) === index;
|
4811
4816
|
}).join(" ");
|
4812
4817
|
|
4813
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4818
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
4814
4819
|
var import_react22 = require("react");
|
4815
4820
|
|
4816
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4821
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
4817
4822
|
var defaultAttributes = {
|
4818
4823
|
xmlns: "http://www.w3.org/2000/svg",
|
4819
4824
|
width: 24,
|
@@ -4826,7 +4831,7 @@ var defaultAttributes = {
|
|
4826
4831
|
strokeLinejoin: "round"
|
4827
4832
|
};
|
4828
4833
|
|
4829
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4834
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
4830
4835
|
var Icon = (0, import_react22.forwardRef)(
|
4831
4836
|
({
|
4832
4837
|
color = "currentColor",
|
@@ -4858,7 +4863,7 @@ var Icon = (0, import_react22.forwardRef)(
|
|
4858
4863
|
}
|
4859
4864
|
);
|
4860
4865
|
|
4861
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4866
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
4862
4867
|
var createLucideIcon = (iconName, iconNode) => {
|
4863
4868
|
const Component = (0, import_react23.forwardRef)(
|
4864
4869
|
({ className, ...props }, ref) => (0, import_react23.createElement)(Icon, {
|
@@ -4872,7 +4877,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
4872
4877
|
return Component;
|
4873
4878
|
};
|
4874
4879
|
|
4875
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
4880
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
4876
4881
|
var Dot = createLucideIcon("Dot", [
|
4877
4882
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
4878
4883
|
]);
|
@@ -7923,7 +7928,7 @@ var Usage = (props) => {
|
|
7923
7928
|
|
7924
7929
|
lucide-react/dist/esm/shared/src/utils.js:
|
7925
7930
|
(**
|
7926
|
-
* @license lucide-react v0.
|
7931
|
+
* @license lucide-react v0.408.0 - ISC
|
7927
7932
|
*
|
7928
7933
|
* This source code is licensed under the ISC license.
|
7929
7934
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -7931,7 +7936,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
7931
7936
|
|
7932
7937
|
lucide-react/dist/esm/defaultAttributes.js:
|
7933
7938
|
(**
|
7934
|
-
* @license lucide-react v0.
|
7939
|
+
* @license lucide-react v0.408.0 - ISC
|
7935
7940
|
*
|
7936
7941
|
* This source code is licensed under the ISC license.
|
7937
7942
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -7939,7 +7944,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
7939
7944
|
|
7940
7945
|
lucide-react/dist/esm/Icon.js:
|
7941
7946
|
(**
|
7942
|
-
* @license lucide-react v0.
|
7947
|
+
* @license lucide-react v0.408.0 - ISC
|
7943
7948
|
*
|
7944
7949
|
* This source code is licensed under the ISC license.
|
7945
7950
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -7947,7 +7952,7 @@ lucide-react/dist/esm/Icon.js:
|
|
7947
7952
|
|
7948
7953
|
lucide-react/dist/esm/createLucideIcon.js:
|
7949
7954
|
(**
|
7950
|
-
* @license lucide-react v0.
|
7955
|
+
* @license lucide-react v0.408.0 - ISC
|
7951
7956
|
*
|
7952
7957
|
* This source code is licensed under the ISC license.
|
7953
7958
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -7955,7 +7960,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
7955
7960
|
|
7956
7961
|
lucide-react/dist/esm/icons/dot.js:
|
7957
7962
|
(**
|
7958
|
-
* @license lucide-react v0.
|
7963
|
+
* @license lucide-react v0.408.0 - ISC
|
7959
7964
|
*
|
7960
7965
|
* This source code is licensed under the ISC license.
|
7961
7966
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -7963,7 +7968,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
7963
7968
|
|
7964
7969
|
lucide-react/dist/esm/lucide-react.js:
|
7965
7970
|
(**
|
7966
|
-
* @license lucide-react v0.
|
7971
|
+
* @license lucide-react v0.408.0 - ISC
|
7967
7972
|
*
|
7968
7973
|
* This source code is licensed under the ISC license.
|
7969
7974
|
* See the LICENSE file in the root directory of this source tree.
|
package/dist/blocks/index.mjs
CHANGED
@@ -17,7 +17,7 @@ import {
|
|
17
17
|
TabsList,
|
18
18
|
TabsTrigger,
|
19
19
|
Textarea
|
20
|
-
} from "../chunk-
|
20
|
+
} from "../chunk-NPYUEHMC.mjs";
|
21
21
|
import "../chunk-WL7C2A5D.mjs";
|
22
22
|
import {
|
23
23
|
BadEmoji,
|
@@ -416,7 +416,12 @@ var LoginForm = ({
|
|
416
416
|
direction: props.direction,
|
417
417
|
title: props.errorTitle,
|
418
418
|
text: props.errorText,
|
419
|
-
severity: "error"
|
419
|
+
severity: "error",
|
420
|
+
onAlertClosed: () => {
|
421
|
+
if (props.onErrorDismissed) {
|
422
|
+
props.onErrorDismissed();
|
423
|
+
}
|
424
|
+
}
|
420
425
|
}
|
421
426
|
), /* @__PURE__ */ React2.createElement(
|
422
427
|
"form",
|
@@ -2394,19 +2394,19 @@ var StopPropagationWrapper = (props) => {
|
|
2394
2394
|
import * as React7 from "react";
|
2395
2395
|
import { OTPInput, OTPInputContext } from "input-otp";
|
2396
2396
|
|
2397
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
2397
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
2398
2398
|
import { forwardRef as forwardRef4, createElement as createElement3 } from "react";
|
2399
2399
|
|
2400
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
2400
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
2401
2401
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
2402
2402
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
2403
2403
|
return Boolean(className) && array.indexOf(className) === index;
|
2404
2404
|
}).join(" ");
|
2405
2405
|
|
2406
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
2406
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
2407
2407
|
import { forwardRef as forwardRef3, createElement as createElement2 } from "react";
|
2408
2408
|
|
2409
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
2409
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
2410
2410
|
var defaultAttributes = {
|
2411
2411
|
xmlns: "http://www.w3.org/2000/svg",
|
2412
2412
|
width: 24,
|
@@ -2419,7 +2419,7 @@ var defaultAttributes = {
|
|
2419
2419
|
strokeLinejoin: "round"
|
2420
2420
|
};
|
2421
2421
|
|
2422
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
2422
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
2423
2423
|
var Icon = forwardRef3(
|
2424
2424
|
({
|
2425
2425
|
color = "currentColor",
|
@@ -2451,7 +2451,7 @@ var Icon = forwardRef3(
|
|
2451
2451
|
}
|
2452
2452
|
);
|
2453
2453
|
|
2454
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
2454
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
2455
2455
|
var createLucideIcon = (iconName, iconNode) => {
|
2456
2456
|
const Component = forwardRef4(
|
2457
2457
|
({ className, ...props }, ref) => createElement3(Icon, {
|
@@ -2465,7 +2465,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
2465
2465
|
return Component;
|
2466
2466
|
};
|
2467
2467
|
|
2468
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
2468
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
2469
2469
|
var Dot = createLucideIcon("Dot", [
|
2470
2470
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
2471
2471
|
]);
|
@@ -3282,7 +3282,7 @@ export {
|
|
3282
3282
|
|
3283
3283
|
lucide-react/dist/esm/shared/src/utils.js:
|
3284
3284
|
(**
|
3285
|
-
* @license lucide-react v0.
|
3285
|
+
* @license lucide-react v0.408.0 - ISC
|
3286
3286
|
*
|
3287
3287
|
* This source code is licensed under the ISC license.
|
3288
3288
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3290,7 +3290,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
3290
3290
|
|
3291
3291
|
lucide-react/dist/esm/defaultAttributes.js:
|
3292
3292
|
(**
|
3293
|
-
* @license lucide-react v0.
|
3293
|
+
* @license lucide-react v0.408.0 - ISC
|
3294
3294
|
*
|
3295
3295
|
* This source code is licensed under the ISC license.
|
3296
3296
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3298,7 +3298,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
3298
3298
|
|
3299
3299
|
lucide-react/dist/esm/Icon.js:
|
3300
3300
|
(**
|
3301
|
-
* @license lucide-react v0.
|
3301
|
+
* @license lucide-react v0.408.0 - ISC
|
3302
3302
|
*
|
3303
3303
|
* This source code is licensed under the ISC license.
|
3304
3304
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3306,7 +3306,7 @@ lucide-react/dist/esm/Icon.js:
|
|
3306
3306
|
|
3307
3307
|
lucide-react/dist/esm/createLucideIcon.js:
|
3308
3308
|
(**
|
3309
|
-
* @license lucide-react v0.
|
3309
|
+
* @license lucide-react v0.408.0 - ISC
|
3310
3310
|
*
|
3311
3311
|
* This source code is licensed under the ISC license.
|
3312
3312
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3314,7 +3314,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
3314
3314
|
|
3315
3315
|
lucide-react/dist/esm/icons/dot.js:
|
3316
3316
|
(**
|
3317
|
-
* @license lucide-react v0.
|
3317
|
+
* @license lucide-react v0.408.0 - ISC
|
3318
3318
|
*
|
3319
3319
|
* This source code is licensed under the ISC license.
|
3320
3320
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -3322,7 +3322,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
3322
3322
|
|
3323
3323
|
lucide-react/dist/esm/lucide-react.js:
|
3324
3324
|
(**
|
3325
|
-
* @license lucide-react v0.
|
3325
|
+
* @license lucide-react v0.408.0 - ISC
|
3326
3326
|
*
|
3327
3327
|
* This source code is licensed under the ISC license.
|
3328
3328
|
* See the LICENSE file in the root directory of this source tree.
|
package/dist/elements/index.js
CHANGED
@@ -7395,19 +7395,19 @@ var PhoneInput = ({
|
|
7395
7395
|
var React50 = __toESM(require("react"));
|
7396
7396
|
var import_input_otp = require("input-otp");
|
7397
7397
|
|
7398
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7398
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
7399
7399
|
var import_react41 = require("react");
|
7400
7400
|
|
7401
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7401
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
7402
7402
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
7403
7403
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
7404
7404
|
return Boolean(className) && array.indexOf(className) === index;
|
7405
7405
|
}).join(" ");
|
7406
7406
|
|
7407
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7407
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
7408
7408
|
var import_react40 = require("react");
|
7409
7409
|
|
7410
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7410
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
7411
7411
|
var defaultAttributes = {
|
7412
7412
|
xmlns: "http://www.w3.org/2000/svg",
|
7413
7413
|
width: 24,
|
@@ -7420,7 +7420,7 @@ var defaultAttributes = {
|
|
7420
7420
|
strokeLinejoin: "round"
|
7421
7421
|
};
|
7422
7422
|
|
7423
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7423
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
7424
7424
|
var Icon = (0, import_react40.forwardRef)(
|
7425
7425
|
({
|
7426
7426
|
color = "currentColor",
|
@@ -7452,7 +7452,7 @@ var Icon = (0, import_react40.forwardRef)(
|
|
7452
7452
|
}
|
7453
7453
|
);
|
7454
7454
|
|
7455
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7455
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
7456
7456
|
var createLucideIcon = (iconName, iconNode) => {
|
7457
7457
|
const Component = (0, import_react41.forwardRef)(
|
7458
7458
|
({ className, ...props }, ref) => (0, import_react41.createElement)(Icon, {
|
@@ -7466,7 +7466,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
7466
7466
|
return Component;
|
7467
7467
|
};
|
7468
7468
|
|
7469
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7469
|
+
// ../../node_modules/.pnpm/lucide-react@0.408.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
7470
7470
|
var Dot = createLucideIcon("Dot", [
|
7471
7471
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
7472
7472
|
]);
|
@@ -9012,7 +9012,7 @@ var PhoneMockup = ({
|
|
9012
9012
|
|
9013
9013
|
lucide-react/dist/esm/shared/src/utils.js:
|
9014
9014
|
(**
|
9015
|
-
* @license lucide-react v0.
|
9015
|
+
* @license lucide-react v0.408.0 - ISC
|
9016
9016
|
*
|
9017
9017
|
* This source code is licensed under the ISC license.
|
9018
9018
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -9020,7 +9020,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
9020
9020
|
|
9021
9021
|
lucide-react/dist/esm/defaultAttributes.js:
|
9022
9022
|
(**
|
9023
|
-
* @license lucide-react v0.
|
9023
|
+
* @license lucide-react v0.408.0 - ISC
|
9024
9024
|
*
|
9025
9025
|
* This source code is licensed under the ISC license.
|
9026
9026
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -9028,7 +9028,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
9028
9028
|
|
9029
9029
|
lucide-react/dist/esm/Icon.js:
|
9030
9030
|
(**
|
9031
|
-
* @license lucide-react v0.
|
9031
|
+
* @license lucide-react v0.408.0 - ISC
|
9032
9032
|
*
|
9033
9033
|
* This source code is licensed under the ISC license.
|
9034
9034
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -9036,7 +9036,7 @@ lucide-react/dist/esm/Icon.js:
|
|
9036
9036
|
|
9037
9037
|
lucide-react/dist/esm/createLucideIcon.js:
|
9038
9038
|
(**
|
9039
|
-
* @license lucide-react v0.
|
9039
|
+
* @license lucide-react v0.408.0 - ISC
|
9040
9040
|
*
|
9041
9041
|
* This source code is licensed under the ISC license.
|
9042
9042
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -9044,7 +9044,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
9044
9044
|
|
9045
9045
|
lucide-react/dist/esm/icons/dot.js:
|
9046
9046
|
(**
|
9047
|
-
* @license lucide-react v0.
|
9047
|
+
* @license lucide-react v0.408.0 - ISC
|
9048
9048
|
*
|
9049
9049
|
* This source code is licensed under the ISC license.
|
9050
9050
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -9052,7 +9052,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
9052
9052
|
|
9053
9053
|
lucide-react/dist/esm/lucide-react.js:
|
9054
9054
|
(**
|
9055
|
-
* @license lucide-react v0.
|
9055
|
+
* @license lucide-react v0.408.0 - ISC
|
9056
9056
|
*
|
9057
9057
|
* This source code is licensed under the ISC license.
|
9058
9058
|
* See the LICENSE file in the root directory of this source tree.
|