@sikka/hawa 0.49.0-next → 0.49.3-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 +1 -1
- package/dist/blocks/auth/index.d.ts +1 -1
- package/dist/blocks/auth/index.js +15 -15
- package/dist/blocks/auth/index.mjs +15 -15
- package/dist/blocks/index.d.mts +1 -1
- package/dist/blocks/index.d.ts +1 -1
- package/dist/blocks/index.js +15 -15
- package/dist/blocks/index.mjs +3 -3
- package/dist/{chunk-ULRL4WI6.mjs → chunk-5CD5WZIQ.mjs} +13 -13
- package/dist/elements/index.js +13 -13
- package/dist/elements/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -15
- package/dist/index.mjs +15 -15
- 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 +5 -5
package/dist/index.d.mts
CHANGED
@@ -1677,7 +1677,7 @@ type LoginFormTypes = {
|
|
1677
1677
|
/** Description text of error alert. */
|
1678
1678
|
errorText?: string;
|
1679
1679
|
/** Login identifier type user will use to log in. */
|
1680
|
-
loginType?: "email" | "username" | "phone" | "
|
1680
|
+
loginType?: "email" | "username" | "phone" | "email_link" | "email_code";
|
1681
1681
|
/** If true, the reset password option is hidden. */
|
1682
1682
|
withResetPassword?: boolean;
|
1683
1683
|
/** If true, the register option is hidden. */
|
package/dist/index.d.ts
CHANGED
@@ -1677,7 +1677,7 @@ type LoginFormTypes = {
|
|
1677
1677
|
/** Description text of error alert. */
|
1678
1678
|
errorText?: string;
|
1679
1679
|
/** Login identifier type user will use to log in. */
|
1680
|
-
loginType?: "email" | "username" | "phone" | "
|
1680
|
+
loginType?: "email" | "username" | "phone" | "email_link" | "email_code";
|
1681
1681
|
/** If true, the reset password option is hidden. */
|
1682
1682
|
withResetPassword?: boolean;
|
1683
1683
|
/** If true, the register option is hidden. */
|
package/dist/index.js
CHANGED
@@ -7370,19 +7370,19 @@ var PhoneInput = ({
|
|
7370
7370
|
var React50 = __toESM(require("react"));
|
7371
7371
|
var import_input_otp = require("input-otp");
|
7372
7372
|
|
7373
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7373
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
7374
7374
|
var import_react41 = require("react");
|
7375
7375
|
|
7376
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7376
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
7377
7377
|
var toKebabCase = (string9) => string9.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
7378
7378
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
7379
7379
|
return Boolean(className) && array.indexOf(className) === index;
|
7380
7380
|
}).join(" ");
|
7381
7381
|
|
7382
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7382
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
7383
7383
|
var import_react40 = require("react");
|
7384
7384
|
|
7385
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7385
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
7386
7386
|
var defaultAttributes = {
|
7387
7387
|
xmlns: "http://www.w3.org/2000/svg",
|
7388
7388
|
width: 24,
|
@@ -7395,7 +7395,7 @@ var defaultAttributes = {
|
|
7395
7395
|
strokeLinejoin: "round"
|
7396
7396
|
};
|
7397
7397
|
|
7398
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7398
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
7399
7399
|
var Icon = (0, import_react40.forwardRef)(
|
7400
7400
|
({
|
7401
7401
|
color = "currentColor",
|
@@ -7427,7 +7427,7 @@ var Icon = (0, import_react40.forwardRef)(
|
|
7427
7427
|
}
|
7428
7428
|
);
|
7429
7429
|
|
7430
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7430
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
7431
7431
|
var createLucideIcon = (iconName, iconNode) => {
|
7432
7432
|
const Component = (0, import_react41.forwardRef)(
|
7433
7433
|
({ className, ...props }, ref) => (0, import_react41.createElement)(Icon, {
|
@@ -7441,7 +7441,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
7441
7441
|
return Component;
|
7442
7442
|
};
|
7443
7443
|
|
7444
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7444
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
7445
7445
|
var Dot = createLucideIcon("Dot", [
|
7446
7446
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
7447
7447
|
]);
|
@@ -10241,7 +10241,7 @@ var LoginForm = ({
|
|
10241
10241
|
{ message: ((_n = texts == null ? void 0 : texts.phone) == null ? void 0 : _n.invalid) || "Phone Number Invalid" }
|
10242
10242
|
)
|
10243
10243
|
});
|
10244
|
-
} else if (loginType === "
|
10244
|
+
} else if (loginType === "email_link") {
|
10245
10245
|
formSchema = z.object({
|
10246
10246
|
email: z.string({ required_error: ((_o = texts == null ? void 0 : texts.email) == null ? void 0 : _o.required) || "Email Required" }).min(1, { message: ((_p = texts == null ? void 0 : texts.email) == null ? void 0 : _p.required) || "Email Required" }).email({ message: ((_q = texts == null ? void 0 : texts.email) == null ? void 0 : _q.invalid) || "Email Invalid" })
|
10247
10247
|
});
|
@@ -10404,7 +10404,7 @@ var LoginForm = ({
|
|
10404
10404
|
}
|
10405
10405
|
}
|
10406
10406
|
));
|
10407
|
-
case "
|
10407
|
+
case "email_link":
|
10408
10408
|
return /* @__PURE__ */ import_react67.default.createElement(import_react67.default.Fragment, null, /* @__PURE__ */ import_react67.default.createElement(
|
10409
10409
|
import_react_hook_form.Controller,
|
10410
10410
|
{
|
@@ -13057,7 +13057,7 @@ var Usage = (props) => {
|
|
13057
13057
|
|
13058
13058
|
lucide-react/dist/esm/shared/src/utils.js:
|
13059
13059
|
(**
|
13060
|
-
* @license lucide-react v0.
|
13060
|
+
* @license lucide-react v0.436.0 - ISC
|
13061
13061
|
*
|
13062
13062
|
* This source code is licensed under the ISC license.
|
13063
13063
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13065,7 +13065,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
13065
13065
|
|
13066
13066
|
lucide-react/dist/esm/defaultAttributes.js:
|
13067
13067
|
(**
|
13068
|
-
* @license lucide-react v0.
|
13068
|
+
* @license lucide-react v0.436.0 - ISC
|
13069
13069
|
*
|
13070
13070
|
* This source code is licensed under the ISC license.
|
13071
13071
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13073,7 +13073,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
13073
13073
|
|
13074
13074
|
lucide-react/dist/esm/Icon.js:
|
13075
13075
|
(**
|
13076
|
-
* @license lucide-react v0.
|
13076
|
+
* @license lucide-react v0.436.0 - ISC
|
13077
13077
|
*
|
13078
13078
|
* This source code is licensed under the ISC license.
|
13079
13079
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13081,7 +13081,7 @@ lucide-react/dist/esm/Icon.js:
|
|
13081
13081
|
|
13082
13082
|
lucide-react/dist/esm/createLucideIcon.js:
|
13083
13083
|
(**
|
13084
|
-
* @license lucide-react v0.
|
13084
|
+
* @license lucide-react v0.436.0 - ISC
|
13085
13085
|
*
|
13086
13086
|
* This source code is licensed under the ISC license.
|
13087
13087
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13089,7 +13089,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
13089
13089
|
|
13090
13090
|
lucide-react/dist/esm/icons/dot.js:
|
13091
13091
|
(**
|
13092
|
-
* @license lucide-react v0.
|
13092
|
+
* @license lucide-react v0.436.0 - ISC
|
13093
13093
|
*
|
13094
13094
|
* This source code is licensed under the ISC license.
|
13095
13095
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13097,7 +13097,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
13097
13097
|
|
13098
13098
|
lucide-react/dist/esm/lucide-react.js:
|
13099
13099
|
(**
|
13100
|
-
* @license lucide-react v0.
|
13100
|
+
* @license lucide-react v0.436.0 - ISC
|
13101
13101
|
*
|
13102
13102
|
* This source code is licensed under the ISC license.
|
13103
13103
|
* See the LICENSE file in the root directory of this source tree.
|
package/dist/index.mjs
CHANGED
@@ -7126,19 +7126,19 @@ var PhoneInput = ({
|
|
7126
7126
|
import * as React50 from "react";
|
7127
7127
|
import { OTPInput, OTPInputContext } from "input-otp";
|
7128
7128
|
|
7129
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7129
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
7130
7130
|
import { forwardRef as forwardRef25, createElement as createElement24 } from "react";
|
7131
7131
|
|
7132
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7132
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
7133
7133
|
var toKebabCase = (string9) => string9.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
7134
7134
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
7135
7135
|
return Boolean(className) && array.indexOf(className) === index;
|
7136
7136
|
}).join(" ");
|
7137
7137
|
|
7138
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7138
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
7139
7139
|
import { forwardRef as forwardRef24, createElement as createElement23 } from "react";
|
7140
7140
|
|
7141
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7141
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
7142
7142
|
var defaultAttributes = {
|
7143
7143
|
xmlns: "http://www.w3.org/2000/svg",
|
7144
7144
|
width: 24,
|
@@ -7151,7 +7151,7 @@ var defaultAttributes = {
|
|
7151
7151
|
strokeLinejoin: "round"
|
7152
7152
|
};
|
7153
7153
|
|
7154
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7154
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
7155
7155
|
var Icon = forwardRef24(
|
7156
7156
|
({
|
7157
7157
|
color = "currentColor",
|
@@ -7183,7 +7183,7 @@ var Icon = forwardRef24(
|
|
7183
7183
|
}
|
7184
7184
|
);
|
7185
7185
|
|
7186
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7186
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
7187
7187
|
var createLucideIcon = (iconName, iconNode) => {
|
7188
7188
|
const Component = forwardRef25(
|
7189
7189
|
({ className, ...props }, ref) => createElement24(Icon, {
|
@@ -7197,7 +7197,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
7197
7197
|
return Component;
|
7198
7198
|
};
|
7199
7199
|
|
7200
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7200
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
7201
7201
|
var Dot = createLucideIcon("Dot", [
|
7202
7202
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
7203
7203
|
]);
|
@@ -10006,7 +10006,7 @@ var LoginForm = ({
|
|
10006
10006
|
{ message: ((_n = texts == null ? void 0 : texts.phone) == null ? void 0 : _n.invalid) || "Phone Number Invalid" }
|
10007
10007
|
)
|
10008
10008
|
});
|
10009
|
-
} else if (loginType === "
|
10009
|
+
} else if (loginType === "email_link") {
|
10010
10010
|
formSchema = z.object({
|
10011
10011
|
email: z.string({ required_error: ((_o = texts == null ? void 0 : texts.email) == null ? void 0 : _o.required) || "Email Required" }).min(1, { message: ((_p = texts == null ? void 0 : texts.email) == null ? void 0 : _p.required) || "Email Required" }).email({ message: ((_q = texts == null ? void 0 : texts.email) == null ? void 0 : _q.invalid) || "Email Invalid" })
|
10012
10012
|
});
|
@@ -10169,7 +10169,7 @@ var LoginForm = ({
|
|
10169
10169
|
}
|
10170
10170
|
}
|
10171
10171
|
));
|
10172
|
-
case "
|
10172
|
+
case "email_link":
|
10173
10173
|
return /* @__PURE__ */ React82.createElement(React82.Fragment, null, /* @__PURE__ */ React82.createElement(
|
10174
10174
|
Controller,
|
10175
10175
|
{
|
@@ -12826,7 +12826,7 @@ export {
|
|
12826
12826
|
|
12827
12827
|
lucide-react/dist/esm/shared/src/utils.js:
|
12828
12828
|
(**
|
12829
|
-
* @license lucide-react v0.
|
12829
|
+
* @license lucide-react v0.436.0 - ISC
|
12830
12830
|
*
|
12831
12831
|
* This source code is licensed under the ISC license.
|
12832
12832
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -12834,7 +12834,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
12834
12834
|
|
12835
12835
|
lucide-react/dist/esm/defaultAttributes.js:
|
12836
12836
|
(**
|
12837
|
-
* @license lucide-react v0.
|
12837
|
+
* @license lucide-react v0.436.0 - ISC
|
12838
12838
|
*
|
12839
12839
|
* This source code is licensed under the ISC license.
|
12840
12840
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -12842,7 +12842,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
12842
12842
|
|
12843
12843
|
lucide-react/dist/esm/Icon.js:
|
12844
12844
|
(**
|
12845
|
-
* @license lucide-react v0.
|
12845
|
+
* @license lucide-react v0.436.0 - ISC
|
12846
12846
|
*
|
12847
12847
|
* This source code is licensed under the ISC license.
|
12848
12848
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -12850,7 +12850,7 @@ lucide-react/dist/esm/Icon.js:
|
|
12850
12850
|
|
12851
12851
|
lucide-react/dist/esm/createLucideIcon.js:
|
12852
12852
|
(**
|
12853
|
-
* @license lucide-react v0.
|
12853
|
+
* @license lucide-react v0.436.0 - ISC
|
12854
12854
|
*
|
12855
12855
|
* This source code is licensed under the ISC license.
|
12856
12856
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -12858,7 +12858,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
12858
12858
|
|
12859
12859
|
lucide-react/dist/esm/icons/dot.js:
|
12860
12860
|
(**
|
12861
|
-
* @license lucide-react v0.
|
12861
|
+
* @license lucide-react v0.436.0 - ISC
|
12862
12862
|
*
|
12863
12863
|
* This source code is licensed under the ISC license.
|
12864
12864
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -12866,7 +12866,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
12866
12866
|
|
12867
12867
|
lucide-react/dist/esm/lucide-react.js:
|
12868
12868
|
(**
|
12869
|
-
* @license lucide-react v0.
|
12869
|
+
* @license lucide-react v0.436.0 - ISC
|
12870
12870
|
*
|
12871
12871
|
* This source code is licensed under the ISC license.
|
12872
12872
|
* See the LICENSE file in the root directory of this source tree.
|
package/dist/pinInput/index.js
CHANGED
@@ -52,19 +52,19 @@ function cn(...inputs) {
|
|
52
52
|
// elements/pinInput/PinInput.tsx
|
53
53
|
var import_input_otp = require("input-otp");
|
54
54
|
|
55
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
55
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
56
56
|
var import_react2 = require("react");
|
57
57
|
|
58
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
58
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
59
59
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
60
60
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
61
61
|
return Boolean(className) && array.indexOf(className) === index;
|
62
62
|
}).join(" ");
|
63
63
|
|
64
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
64
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
65
65
|
var import_react = require("react");
|
66
66
|
|
67
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
67
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
68
68
|
var defaultAttributes = {
|
69
69
|
xmlns: "http://www.w3.org/2000/svg",
|
70
70
|
width: 24,
|
@@ -77,7 +77,7 @@ var defaultAttributes = {
|
|
77
77
|
strokeLinejoin: "round"
|
78
78
|
};
|
79
79
|
|
80
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
80
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
81
81
|
var Icon = (0, import_react.forwardRef)(
|
82
82
|
({
|
83
83
|
color = "currentColor",
|
@@ -109,7 +109,7 @@ var Icon = (0, import_react.forwardRef)(
|
|
109
109
|
}
|
110
110
|
);
|
111
111
|
|
112
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
112
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
113
113
|
var createLucideIcon = (iconName, iconNode) => {
|
114
114
|
const Component = (0, import_react2.forwardRef)(
|
115
115
|
({ className, ...props }, ref) => (0, import_react2.createElement)(Icon, {
|
@@ -123,7 +123,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
123
123
|
return Component;
|
124
124
|
};
|
125
125
|
|
126
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
126
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
127
127
|
var Dot = createLucideIcon("Dot", [
|
128
128
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
129
129
|
]);
|
@@ -204,7 +204,7 @@ var PinInput = ({ separatorPosition = 0, ...props }) => {
|
|
204
204
|
|
205
205
|
lucide-react/dist/esm/shared/src/utils.js:
|
206
206
|
(**
|
207
|
-
* @license lucide-react v0.
|
207
|
+
* @license lucide-react v0.436.0 - ISC
|
208
208
|
*
|
209
209
|
* This source code is licensed under the ISC license.
|
210
210
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -212,7 +212,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
212
212
|
|
213
213
|
lucide-react/dist/esm/defaultAttributes.js:
|
214
214
|
(**
|
215
|
-
* @license lucide-react v0.
|
215
|
+
* @license lucide-react v0.436.0 - ISC
|
216
216
|
*
|
217
217
|
* This source code is licensed under the ISC license.
|
218
218
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -220,7 +220,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
220
220
|
|
221
221
|
lucide-react/dist/esm/Icon.js:
|
222
222
|
(**
|
223
|
-
* @license lucide-react v0.
|
223
|
+
* @license lucide-react v0.436.0 - ISC
|
224
224
|
*
|
225
225
|
* This source code is licensed under the ISC license.
|
226
226
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -228,7 +228,7 @@ lucide-react/dist/esm/Icon.js:
|
|
228
228
|
|
229
229
|
lucide-react/dist/esm/createLucideIcon.js:
|
230
230
|
(**
|
231
|
-
* @license lucide-react v0.
|
231
|
+
* @license lucide-react v0.436.0 - ISC
|
232
232
|
*
|
233
233
|
* This source code is licensed under the ISC license.
|
234
234
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -236,7 +236,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
236
236
|
|
237
237
|
lucide-react/dist/esm/icons/dot.js:
|
238
238
|
(**
|
239
|
-
* @license lucide-react v0.
|
239
|
+
* @license lucide-react v0.436.0 - ISC
|
240
240
|
*
|
241
241
|
* This source code is licensed under the ISC license.
|
242
242
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -244,7 +244,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
244
244
|
|
245
245
|
lucide-react/dist/esm/lucide-react.js:
|
246
246
|
(**
|
247
|
-
* @license lucide-react v0.
|
247
|
+
* @license lucide-react v0.436.0 - ISC
|
248
248
|
*
|
249
249
|
* This source code is licensed under the ISC license.
|
250
250
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../elements/pinInput/index.ts","../../elements/pinInput/PinInput.tsx","../../util/index.ts","../../../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/shared/src/utils.ts","../../../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/src/defaultAttributes.ts","../../../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/src/Icon.ts","../../../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/src/createLucideIcon.ts","../../../../node_modules/.pnpm/lucide-react@0.435.0_react@18.3.1/node_modules/lucide-react/src/icons/dot.ts","../../elements/helperText/HelperText.tsx"],"sourcesContent":["export * from \"./PinInput\";\n","import * as React from \"react\";\n\nimport { cn } from \"@util/index\";\nimport { OTPInput, OTPInputContext, OTPInputProps } from \"input-otp\";\nimport { Dot } from \"lucide-react\";\n\nimport { HelperText } from \"../helperText\";\n\nconst PinInputRoot = React.forwardRef<\n React.ElementRef<typeof OTPInput>,\n React.ComponentPropsWithoutRef<typeof OTPInput>\n>(({ className, containerClassName, ...props }, ref) => (\n <OTPInput\n ref={ref}\n containerClassName={cn(\n \"hawa-flex hawa-items-center hawa-gap-2 has-[:disabled]:hawa-opacity-50\",\n containerClassName,\n )}\n className={cn(\"disabled:hawa-cursor-not-allowed\", className)}\n {...props}\n />\n));\nPinInputRoot.displayName = \"PinInputRoot\";\n\nconst PinInputGroup = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"hawa-flex hawa-items-center\", className)} {...props} />\n));\nPinInputGroup.displayName = \"PinInputGroup\";\n\nconst PinInputSlot = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\"> & { index: number }\n>(({ index, className, ...props }, ref) => {\n const pinInputContext = React.useContext(OTPInputContext);\n const { char, hasFakeCaret, isActive } = pinInputContext.slots[index];\n\n return (\n <div\n ref={ref}\n className={cn(\n \"hawa-border-input hawa-relative hawa-flex hawa-h-10 hawa-w-10 hawa-items-center hawa-justify-center hawa-border-y hawa-border-r hawa-text-sm hawa-transition-all first:hawa-rounded-l-md first:hawa-border-l last:hawa-rounded-r-md\",\n isActive && \"hawa-ring-ring hawa-ring-offset-background hawa-z-10 hawa-ring-2\",\n className,\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"hawa-pointer-events-none hawa-absolute hawa-inset-0 hawa-flex hawa-items-center hawa-justify-center\">\n <div className=\"hawa-animate-caret-blink hawa-bg-foreground hawa-h-4 hawa-w-px hawa-duration-1000\" />\n </div>\n )}\n </div>\n );\n});\nPinInputSlot.displayName = \"PinInputSlot\";\n\nconst PinInputSeperator = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ ...props }, ref) => (\n <div ref={ref} role=\"separator\" {...props}>\n <Dot />\n </div>\n));\nPinInputSeperator.displayName = \"PinInputSeperator\";\n\ntype PinInputProps = Omit<OTPInputProps, \"render\"> & {\n /*\n * The position of the separator in the pin input\n * @default 3\n */\n separatorPosition?: number;\n helperText?: any;\n};\n\nconst PinInput: React.FC<PinInputProps> = ({ separatorPosition = 0, ...props }) => {\n const maxLength = props.maxLength || 6; // Assuming a default maxLength of 6 if not provided\n const clampedSeparatorPosition = Math.min(separatorPosition, maxLength);\n\n const firstGroupLength = clampedSeparatorPosition > 0 ? clampedSeparatorPosition : 0;\n const secondGroupLength = maxLength - firstGroupLength;\n\n return (\n <div className=\"hawa-flex hawa-flex-col hawa-gap-2\" dir=\"ltr\">\n <PinInputRoot {...props}>\n {firstGroupLength > 0 && (\n <PinInputGroup className=\"hawa-w-full hawa-gap-2\">\n {[...Array(firstGroupLength)].map((_, index) => (\n <PinInputSlot key={index} index={index} className=\"hawa-w-full hawa-border\" />\n ))}\n </PinInputGroup>\n )}\n {separatorPosition > 0 && separatorPosition < props.maxLength && <PinInputSeperator />}\n {secondGroupLength > 0 && (\n <PinInputGroup className=\"hawa-w-full hawa-gap-2\">\n {[...Array(secondGroupLength)].map((_, index) => (\n <PinInputSlot\n key={index + firstGroupLength}\n index={index + firstGroupLength}\n className=\"hawa-w-full hawa-border\"\n />\n ))}\n </PinInputGroup>\n )}\n </PinInputRoot>\n <HelperText helperText={props.helperText} />\n </div>\n );\n};\n\nexport { PinInput, PinInputRoot, PinInputGroup, PinInputSlot, PinInputSeperator };\n","import { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n\ntype Palette = {\n name: string;\n colors: {\n [key: number]: string;\n };\n};\ntype Rgb = {\n r: number;\n g: number;\n b: number;\n};\nfunction hexToRgb(hex: string): Rgb | null {\n const sanitizedHex = hex.replaceAll(\"##\", \"#\");\n const colorParts = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(sanitizedHex);\n\n if (!colorParts) {\n return null;\n }\n\n const [, r, g, b] = colorParts;\n\n return {\n r: parseInt(r, 16),\n g: parseInt(g, 16),\n b: parseInt(b, 16),\n } as Rgb;\n}\n\nfunction rgbToHex(r: number, g: number, b: number): string {\n const toHex = (c: number) => `0${c.toString(16)}`.slice(-2);\n return `#${toHex(r)}${toHex(g)}${toHex(b)}`;\n}\n\nexport function getTextColor(color: string): \"#FFF\" | \"#333\" {\n const rgbColor = hexToRgb(color);\n\n if (!rgbColor) {\n return \"#333\";\n }\n\n const { r, g, b } = rgbColor;\n const luma = 0.2126 * r + 0.7152 * g + 0.0722 * b;\n\n return luma < 120 ? \"#FFF\" : \"#333\";\n}\n\nfunction lighten(hex: string, intensity: number): string {\n const color = hexToRgb(`#${hex}`);\n\n if (!color) {\n return \"\";\n }\n\n const r = Math.round(color.r + (255 - color.r) * intensity);\n const g = Math.round(color.g + (255 - color.g) * intensity);\n const b = Math.round(color.b + (255 - color.b) * intensity);\n\n return rgbToHex(r, g, b);\n}\n\nfunction darken(hex: string, intensity: number): string {\n const color = hexToRgb(hex);\n\n if (!color) {\n return \"\";\n }\n\n const r = Math.round(color.r * intensity);\n const g = Math.round(color.g * intensity);\n const b = Math.round(color.b * intensity);\n\n return rgbToHex(r, g, b);\n}\nconst parseColor = (color: any) => {\n if (color.startsWith(\"#\")) {\n // Convert hex to RGB\n let r = parseInt(color.slice(1, 3), 16);\n let g = parseInt(color.slice(3, 5), 16);\n let b = parseInt(color.slice(5, 7), 16);\n return [r, g, b];\n } else if (color.startsWith(\"rgb\")) {\n // Extract RGB values from rgb() format\n return color.match(/\\d+/g).map(Number);\n }\n // Default to white if format is unrecognized\n return [255, 255, 255];\n};\nexport const calculateLuminance = (color: any) => {\n const [r, g, b] = parseColor(color)?.map((c: any) => {\n c /= 255;\n return c <= 0.03928 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4;\n });\n return 0.2126 * r + 0.7152 * g + 0.0722 * b;\n};\n\nfunction getPallette(baseColor: string): Palette {\n const name = baseColor;\n\n const response: Palette = {\n name,\n colors: {\n 500: `#${baseColor}`.replace(\"##\", \"#\"),\n },\n };\n\n const intensityMap: {\n [key: number]: number;\n } = {\n 50: 0.95,\n 100: 0.9,\n 200: 0.75,\n 300: 0.6,\n 400: 0.3,\n 600: 0.9,\n 700: 0.75,\n 800: 0.6,\n 900: 0.49,\n };\n\n [50, 100, 200, 300, 400].forEach((level) => {\n response.colors[level] = lighten(baseColor, intensityMap[level]);\n });\n [600, 700, 800, 900].forEach((level) => {\n response.colors[level] = darken(baseColor, intensityMap[level]);\n });\n\n return response as Palette;\n}\n\nexport { getPallette };\n\n// const hexToRgb = (hex) => {\n// let d = hex?.split(\"#\")[1];\n// var aRgbHex = d?.match(/.{1,2}/g);\n// var aRgb = [\n// parseInt(aRgbHex[0], 16),\n// parseInt(aRgbHex[1], 16),\n// parseInt(aRgbHex[2], 16)\n// ];\n// return aRgb;\n// };\n// const getTextColor = (backColor) => {\n// let rgbArray = hexToRgb(backColor);\n// if (rgbArray[0] * 0.299 + rgbArray[1] * 0.587 + rgbArray[2] * 0.114 > 186) {\n// return \"#000000\";\n// } else {\n// return \"#ffffff\";\n// }\n// };\n// const replaceAt = function (string, index, replacement) {\n// // if (replacement == \"\" || replacement == \" \") {\n// // return (\n// // string.substring(0, index) +\n// // string.substring(index + replacement.length )\n// // );\n// // }\n// const replaced = string.substring(0, index) + replacement + string.substring(index + 1)\n// return replaced\n// };\n\n// export { hexToRgb, getTextColor, replaceAt };\n","import { CamelToPascal } from './utility-types';\n\n/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = <T extends string>(string: T): CamelToPascal<T> => {\n const camelCase = string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal<T>;\n};\n\n/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = <ClassType = string | undefined | null>(...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return Boolean(className) && array.indexOf(className) === index;\n })\n .join(' ');\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef<SVGSVGElement, IconComponentProps>(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) => {\n return createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n );\n },\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),\n ...props,\n }),\n );\n\n Component.displayName = `${iconName}`;\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name Dot\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/dot\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Dot = createLucideIcon('Dot', [\n ['circle', { cx: '12.1', cy: '12.1', r: '1', key: '18d7e5' }],\n]);\n\nexport default Dot;\n","import React from \"react\";\n\nimport { cn } from \"@util/index\";\n\nexport const HelperText = ({ helperText }: { helperText?: string | React.ReactNode }) => (\n <p\n className={cn(\n \"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all hawa-text-xs\",\n helperText ? \"hawa-opacity-100 hawa-h-4\" : \"hawa-h-0 hawa-opacity-0\",\n )}\n >\n {helperText}\n </p>\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,SAAuB;;;ACAvB,kBAAsC;AACtC,4BAAwB;AAEjB,SAAS,MAAM,QAAsB;AAC1C,aAAO,mCAAQ,kBAAK,MAAM,CAAC;AAC7B;;;ADFA,uBAAyD;;;;;;AEK5C,IA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MAAM;AACjF,QAAM,YAAY,MAAM,aAAa;AACrC,QAAM,2BAA2B,KAAK,IAAI,mBAAmB,SAAS;AAEtE,QAAM,mBAAmB,2BAA2B,IAAI,2BAA2B;AACnF,QAAM,oBAAoB,YAAY;AAEtC,SACE,qCAAC,SAAI,WAAU,sCAAqC,KAAI,SACtD,qCAAC,gBAAc,GAAG,SACf,mBAAmB,KAClB,qCAAC,iBAAc,WAAU,4BACtB,CAAC,GAAG,MAAM,gBAAgB,CAAC,EAAE,IAAI,CAAC,GAAG,UACpC,qCAAC,gBAAa,KAAK,OAAO,OAAc,WAAU,2BAA0B,CAC7E,CACH,GAED,oBAAoB,KAAK,oBAAoB,MAAM,aAAa,qCAAC,uBAAkB,GACnF,oBAAoB,KACnB,qCAAC,iBAAc,WAAU,4BACtB,CAAC,GAAG,MAAM,iBAAiB,CAAC,EAAE,IAAI,CAAC,GAAG,UACrC;AAAA,IAAC;AAAA;AAAA,MACC,KAAK,QAAQ;AAAA,MACb,OAAO,QAAQ;AAAA,MACf,WAAU;AAAA;AAAA,EACZ,CACD,CACH,CAEJ,GACA,qCAAC,cAAW,YAAY,MAAM,YAAY,CAC5C;AAEJ;","names":["React","import_react","React"]}
|
1
|
+
{"version":3,"sources":["../../elements/pinInput/index.ts","../../elements/pinInput/PinInput.tsx","../../util/index.ts","../../../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/shared/src/utils.ts","../../../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/src/defaultAttributes.ts","../../../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/src/Icon.ts","../../../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/src/createLucideIcon.ts","../../../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/src/icons/dot.ts","../../elements/helperText/HelperText.tsx"],"sourcesContent":["export * from \"./PinInput\";\n","import * as React from \"react\";\n\nimport { cn } from \"@util/index\";\nimport { OTPInput, OTPInputContext, OTPInputProps } from \"input-otp\";\nimport { Dot } from \"lucide-react\";\n\nimport { HelperText } from \"../helperText\";\n\nconst PinInputRoot = React.forwardRef<\n React.ElementRef<typeof OTPInput>,\n React.ComponentPropsWithoutRef<typeof OTPInput>\n>(({ className, containerClassName, ...props }, ref) => (\n <OTPInput\n ref={ref}\n containerClassName={cn(\n \"hawa-flex hawa-items-center hawa-gap-2 has-[:disabled]:hawa-opacity-50\",\n containerClassName,\n )}\n className={cn(\"disabled:hawa-cursor-not-allowed\", className)}\n {...props}\n />\n));\nPinInputRoot.displayName = \"PinInputRoot\";\n\nconst PinInputGroup = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"hawa-flex hawa-items-center\", className)} {...props} />\n));\nPinInputGroup.displayName = \"PinInputGroup\";\n\nconst PinInputSlot = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\"> & { index: number }\n>(({ index, className, ...props }, ref) => {\n const pinInputContext = React.useContext(OTPInputContext);\n const { char, hasFakeCaret, isActive } = pinInputContext.slots[index];\n\n return (\n <div\n ref={ref}\n className={cn(\n \"hawa-border-input hawa-relative hawa-flex hawa-h-10 hawa-w-10 hawa-items-center hawa-justify-center hawa-border-y hawa-border-r hawa-text-sm hawa-transition-all first:hawa-rounded-l-md first:hawa-border-l last:hawa-rounded-r-md\",\n isActive && \"hawa-ring-ring hawa-ring-offset-background hawa-z-10 hawa-ring-2\",\n className,\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"hawa-pointer-events-none hawa-absolute hawa-inset-0 hawa-flex hawa-items-center hawa-justify-center\">\n <div className=\"hawa-animate-caret-blink hawa-bg-foreground hawa-h-4 hawa-w-px hawa-duration-1000\" />\n </div>\n )}\n </div>\n );\n});\nPinInputSlot.displayName = \"PinInputSlot\";\n\nconst PinInputSeperator = React.forwardRef<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ ...props }, ref) => (\n <div ref={ref} role=\"separator\" {...props}>\n <Dot />\n </div>\n));\nPinInputSeperator.displayName = \"PinInputSeperator\";\n\ntype PinInputProps = Omit<OTPInputProps, \"render\"> & {\n /*\n * The position of the separator in the pin input\n * @default 3\n */\n separatorPosition?: number;\n helperText?: any;\n};\n\nconst PinInput: React.FC<PinInputProps> = ({ separatorPosition = 0, ...props }) => {\n const maxLength = props.maxLength || 6; // Assuming a default maxLength of 6 if not provided\n const clampedSeparatorPosition = Math.min(separatorPosition, maxLength);\n\n const firstGroupLength = clampedSeparatorPosition > 0 ? clampedSeparatorPosition : 0;\n const secondGroupLength = maxLength - firstGroupLength;\n\n return (\n <div className=\"hawa-flex hawa-flex-col hawa-gap-2\" dir=\"ltr\">\n <PinInputRoot {...props}>\n {firstGroupLength > 0 && (\n <PinInputGroup className=\"hawa-w-full hawa-gap-2\">\n {[...Array(firstGroupLength)].map((_, index) => (\n <PinInputSlot key={index} index={index} className=\"hawa-w-full hawa-border\" />\n ))}\n </PinInputGroup>\n )}\n {separatorPosition > 0 && separatorPosition < props.maxLength && <PinInputSeperator />}\n {secondGroupLength > 0 && (\n <PinInputGroup className=\"hawa-w-full hawa-gap-2\">\n {[...Array(secondGroupLength)].map((_, index) => (\n <PinInputSlot\n key={index + firstGroupLength}\n index={index + firstGroupLength}\n className=\"hawa-w-full hawa-border\"\n />\n ))}\n </PinInputGroup>\n )}\n </PinInputRoot>\n <HelperText helperText={props.helperText} />\n </div>\n );\n};\n\nexport { PinInput, PinInputRoot, PinInputGroup, PinInputSlot, PinInputSeperator };\n","import { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n\ntype Palette = {\n name: string;\n colors: {\n [key: number]: string;\n };\n};\ntype Rgb = {\n r: number;\n g: number;\n b: number;\n};\nfunction hexToRgb(hex: string): Rgb | null {\n const sanitizedHex = hex.replaceAll(\"##\", \"#\");\n const colorParts = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(sanitizedHex);\n\n if (!colorParts) {\n return null;\n }\n\n const [, r, g, b] = colorParts;\n\n return {\n r: parseInt(r, 16),\n g: parseInt(g, 16),\n b: parseInt(b, 16),\n } as Rgb;\n}\n\nfunction rgbToHex(r: number, g: number, b: number): string {\n const toHex = (c: number) => `0${c.toString(16)}`.slice(-2);\n return `#${toHex(r)}${toHex(g)}${toHex(b)}`;\n}\n\nexport function getTextColor(color: string): \"#FFF\" | \"#333\" {\n const rgbColor = hexToRgb(color);\n\n if (!rgbColor) {\n return \"#333\";\n }\n\n const { r, g, b } = rgbColor;\n const luma = 0.2126 * r + 0.7152 * g + 0.0722 * b;\n\n return luma < 120 ? \"#FFF\" : \"#333\";\n}\n\nfunction lighten(hex: string, intensity: number): string {\n const color = hexToRgb(`#${hex}`);\n\n if (!color) {\n return \"\";\n }\n\n const r = Math.round(color.r + (255 - color.r) * intensity);\n const g = Math.round(color.g + (255 - color.g) * intensity);\n const b = Math.round(color.b + (255 - color.b) * intensity);\n\n return rgbToHex(r, g, b);\n}\n\nfunction darken(hex: string, intensity: number): string {\n const color = hexToRgb(hex);\n\n if (!color) {\n return \"\";\n }\n\n const r = Math.round(color.r * intensity);\n const g = Math.round(color.g * intensity);\n const b = Math.round(color.b * intensity);\n\n return rgbToHex(r, g, b);\n}\nconst parseColor = (color: any) => {\n if (color.startsWith(\"#\")) {\n // Convert hex to RGB\n let r = parseInt(color.slice(1, 3), 16);\n let g = parseInt(color.slice(3, 5), 16);\n let b = parseInt(color.slice(5, 7), 16);\n return [r, g, b];\n } else if (color.startsWith(\"rgb\")) {\n // Extract RGB values from rgb() format\n return color.match(/\\d+/g).map(Number);\n }\n // Default to white if format is unrecognized\n return [255, 255, 255];\n};\nexport const calculateLuminance = (color: any) => {\n const [r, g, b] = parseColor(color)?.map((c: any) => {\n c /= 255;\n return c <= 0.03928 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4;\n });\n return 0.2126 * r + 0.7152 * g + 0.0722 * b;\n};\n\nfunction getPallette(baseColor: string): Palette {\n const name = baseColor;\n\n const response: Palette = {\n name,\n colors: {\n 500: `#${baseColor}`.replace(\"##\", \"#\"),\n },\n };\n\n const intensityMap: {\n [key: number]: number;\n } = {\n 50: 0.95,\n 100: 0.9,\n 200: 0.75,\n 300: 0.6,\n 400: 0.3,\n 600: 0.9,\n 700: 0.75,\n 800: 0.6,\n 900: 0.49,\n };\n\n [50, 100, 200, 300, 400].forEach((level) => {\n response.colors[level] = lighten(baseColor, intensityMap[level]);\n });\n [600, 700, 800, 900].forEach((level) => {\n response.colors[level] = darken(baseColor, intensityMap[level]);\n });\n\n return response as Palette;\n}\n\nexport { getPallette };\n\n// const hexToRgb = (hex) => {\n// let d = hex?.split(\"#\")[1];\n// var aRgbHex = d?.match(/.{1,2}/g);\n// var aRgb = [\n// parseInt(aRgbHex[0], 16),\n// parseInt(aRgbHex[1], 16),\n// parseInt(aRgbHex[2], 16)\n// ];\n// return aRgb;\n// };\n// const getTextColor = (backColor) => {\n// let rgbArray = hexToRgb(backColor);\n// if (rgbArray[0] * 0.299 + rgbArray[1] * 0.587 + rgbArray[2] * 0.114 > 186) {\n// return \"#000000\";\n// } else {\n// return \"#ffffff\";\n// }\n// };\n// const replaceAt = function (string, index, replacement) {\n// // if (replacement == \"\" || replacement == \" \") {\n// // return (\n// // string.substring(0, index) +\n// // string.substring(index + replacement.length )\n// // );\n// // }\n// const replaced = string.substring(0, index) + replacement + string.substring(index + 1)\n// return replaced\n// };\n\n// export { hexToRgb, getTextColor, replaceAt };\n","import { CamelToPascal } from './utility-types';\n\n/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = <T extends string>(string: T): CamelToPascal<T> => {\n const camelCase = string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal<T>;\n};\n\n/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = <ClassType = string | undefined | null>(...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return Boolean(className) && array.indexOf(className) === index;\n })\n .join(' ');\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","import { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses } from '@lucide/shared';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef<SVGSVGElement, IconComponentProps>(\n (\n {\n color = 'currentColor',\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = '',\n children,\n iconNode,\n ...rest\n },\n ref,\n ) => {\n return createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth,\n className: mergeClasses('lucide', className),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n );\n },\n);\n\nexport default Icon;\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),\n ...props,\n }),\n );\n\n Component.displayName = `${iconName}`;\n\n return Component;\n};\n\nexport default createLucideIcon;\n","import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name Dot\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/dot\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Dot = createLucideIcon('Dot', [\n ['circle', { cx: '12.1', cy: '12.1', r: '1', key: '18d7e5' }],\n]);\n\nexport default Dot;\n","import React from \"react\";\n\nimport { cn } from \"@util/index\";\n\nexport const HelperText = ({ helperText }: { helperText?: string | React.ReactNode }) => (\n <p\n className={cn(\n \"hawa-my-0 hawa-text-start hawa-text-helper-color hawa-transition-all hawa-text-xs\",\n helperText ? \"hawa-opacity-100 hawa-h-4\" : \"hawa-h-0 hawa-opacity-0\",\n )}\n >\n {helperText}\n </p>\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,S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,qCAAC,SAAI,KAAU,MAAK,aAAa,GAAG,SAClC,qCAAC,SAAI,CACP,CACD;AACD,kBAAkB,cAAc;AAWhC,IAAM,WAAoC,CAAC,EAAE,oBAAoB,GAAG,GAAG,MAAM,MAAM;AACjF,QAAM,YAAY,MAAM,aAAa;AACrC,QAAM,2BAA2B,KAAK,IAAI,mBAAmB,SAAS;AAEtE,QAAM,mBAAmB,2BAA2B,IAAI,2BAA2B;AACnF,QAAM,oBAAoB,YAAY;AAEtC,SACE,qCAAC,SAAI,WAAU,sCAAqC,KAAI,SACtD,qCAAC,gBAAc,GAAG,SACf,mBAAmB,KAClB,qCAAC,iBAAc,WAAU,4BACtB,CAAC,GAAG,MAAM,gBAAgB,CAAC,EAAE,IAAI,CAAC,GAAG,UACpC,qCAAC,gBAAa,KAAK,OAAO,OAAc,WAAU,2BAA0B,CAC7E,CACH,GAED,oBAAoB,KAAK,oBAAoB,MAAM,aAAa,qCAAC,uBAAkB,GACnF,oBAAoB,KACnB,qCAAC,iBAAc,WAAU,4BACtB,CAAC,GAAG,MAAM,iBAAiB,CAAC,EAAE,IAAI,CAAC,GAAG,UACrC;AAAA,IAAC;AAAA;AAAA,MACC,KAAK,QAAQ;AAAA,MACb,OAAO,QAAQ;AAAA,MACf,WAAU;AAAA;AAAA,EACZ,CACD,CACH,CAEJ,GACA,qCAAC,cAAW,YAAY,MAAM,YAAY,CAC5C;AAEJ;","names":["React","import_react","React"]}
|
package/dist/pinInput/index.mjs
CHANGED
@@ -13,19 +13,19 @@ function cn(...inputs) {
|
|
13
13
|
// elements/pinInput/PinInput.tsx
|
14
14
|
import { OTPInput, OTPInputContext } from "input-otp";
|
15
15
|
|
16
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
16
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
17
17
|
import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
|
18
18
|
|
19
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
19
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
20
20
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
21
21
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
22
22
|
return Boolean(className) && array.indexOf(className) === index;
|
23
23
|
}).join(" ");
|
24
24
|
|
25
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
25
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
26
26
|
import { forwardRef, createElement } from "react";
|
27
27
|
|
28
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
28
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
29
29
|
var defaultAttributes = {
|
30
30
|
xmlns: "http://www.w3.org/2000/svg",
|
31
31
|
width: 24,
|
@@ -38,7 +38,7 @@ var defaultAttributes = {
|
|
38
38
|
strokeLinejoin: "round"
|
39
39
|
};
|
40
40
|
|
41
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
41
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
42
42
|
var Icon = forwardRef(
|
43
43
|
({
|
44
44
|
color = "currentColor",
|
@@ -70,7 +70,7 @@ var Icon = forwardRef(
|
|
70
70
|
}
|
71
71
|
);
|
72
72
|
|
73
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
73
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
74
74
|
var createLucideIcon = (iconName, iconNode) => {
|
75
75
|
const Component = forwardRef2(
|
76
76
|
({ className, ...props }, ref) => createElement2(Icon, {
|
@@ -84,7 +84,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
84
84
|
return Component;
|
85
85
|
};
|
86
86
|
|
87
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
87
|
+
// ../../node_modules/.pnpm/lucide-react@0.436.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
88
88
|
var Dot = createLucideIcon("Dot", [
|
89
89
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
90
90
|
]);
|
@@ -164,7 +164,7 @@ export {
|
|
164
164
|
|
165
165
|
lucide-react/dist/esm/shared/src/utils.js:
|
166
166
|
(**
|
167
|
-
* @license lucide-react v0.
|
167
|
+
* @license lucide-react v0.436.0 - ISC
|
168
168
|
*
|
169
169
|
* This source code is licensed under the ISC license.
|
170
170
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -172,7 +172,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
172
172
|
|
173
173
|
lucide-react/dist/esm/defaultAttributes.js:
|
174
174
|
(**
|
175
|
-
* @license lucide-react v0.
|
175
|
+
* @license lucide-react v0.436.0 - ISC
|
176
176
|
*
|
177
177
|
* This source code is licensed under the ISC license.
|
178
178
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -180,7 +180,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
180
180
|
|
181
181
|
lucide-react/dist/esm/Icon.js:
|
182
182
|
(**
|
183
|
-
* @license lucide-react v0.
|
183
|
+
* @license lucide-react v0.436.0 - ISC
|
184
184
|
*
|
185
185
|
* This source code is licensed under the ISC license.
|
186
186
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -188,7 +188,7 @@ lucide-react/dist/esm/Icon.js:
|
|
188
188
|
|
189
189
|
lucide-react/dist/esm/createLucideIcon.js:
|
190
190
|
(**
|
191
|
-
* @license lucide-react v0.
|
191
|
+
* @license lucide-react v0.436.0 - ISC
|
192
192
|
*
|
193
193
|
* This source code is licensed under the ISC license.
|
194
194
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -196,7 +196,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
196
196
|
|
197
197
|
lucide-react/dist/esm/icons/dot.js:
|
198
198
|
(**
|
199
|
-
* @license lucide-react v0.
|
199
|
+
* @license lucide-react v0.436.0 - ISC
|
200
200
|
*
|
201
201
|
* This source code is licensed under the ISC license.
|
202
202
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -204,7 +204,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
204
204
|
|
205
205
|
lucide-react/dist/esm/lucide-react.js:
|
206
206
|
(**
|
207
|
-
* @license lucide-react v0.
|
207
|
+
* @license lucide-react v0.436.0 - ISC
|
208
208
|
*
|
209
209
|
* This source code is licensed under the ISC license.
|
210
210
|
* See the LICENSE file in the root directory of this source tree.
|