@sikka/hawa 0.38.14-next → 0.40.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/{DropdownMenu-B3cTLPDi.d.mts → DropdownMenu-FVVDS2rX.d.mts} +6 -1
- package/dist/{DropdownMenu-BO1TNMm5.d.ts → DropdownMenu-SFJtRGAw.d.ts} +6 -1
- package/dist/{Radio-lgoClQrv.d.ts → Radio-DlPwVCG4.d.ts} +6 -0
- package/dist/{Radio-uQ7DtzcI.d.mts → Radio-Dyvlywnk.d.mts} +6 -0
- package/dist/alert/index.js +2 -2
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +2 -2
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.d.mts +2 -0
- package/dist/appLayout/index.d.ts +2 -0
- package/dist/appLayout/index.js +14 -3
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +14 -3
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/appTopbar/index.js.map +1 -1
- package/dist/appTopbar/index.mjs.map +1 -1
- package/dist/backToTop/index.js +2 -2
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +2 -2
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +77 -2
- package/dist/blocks/auth/index.mjs +79 -4
- package/dist/blocks/feedback/index.js +162 -119
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.d.mts +5 -2
- package/dist/blocks/index.d.ts +5 -2
- package/dist/blocks/index.js +525 -450
- package/dist/blocks/index.mjs +12 -4
- package/dist/blocks/misc/index.d.mts +3 -0
- package/dist/blocks/misc/index.d.ts +3 -0
- package/dist/blocks/misc/index.js +246 -289
- package/dist/blocks/misc/index.mjs +155 -200
- package/dist/blocks/pricing/index.js +162 -119
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/button/index.d.mts +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.js +2 -2
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +2 -2
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js +2 -2
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs +2 -2
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/{chunk-SL4ONYNR.mjs → chunk-27G5FKOP.mjs} +1 -1
- package/dist/{chunk-IC5WYNKN.mjs → chunk-AJTYKC5R.mjs} +1 -1
- package/dist/{chunk-UMOBOCED.mjs → chunk-CTNKKP2O.mjs} +2 -2
- package/dist/chunk-CTZRVSTI.mjs +346 -0
- package/dist/{chunk-XFSBC5VI.mjs → chunk-DYPGZ2IP.mjs} +1 -1
- package/dist/{chunk-UJ5SXC3M.mjs → chunk-GN7EIDTE.mjs} +1 -1
- package/dist/{chunk-VE7EQ6VH.mjs → chunk-GU2DOJ7Q.mjs} +106 -8
- package/dist/{chunk-RTK6REIK.mjs → chunk-QZIENYTE.mjs} +1 -1
- package/dist/{chunk-EZBHA2IL.mjs → chunk-RT2Q3SH7.mjs} +1 -1
- package/dist/{chunk-AONESDSB.mjs → chunk-UBUVHGW4.mjs} +238 -248
- package/dist/{chunk-ZBUBNKF6.mjs → chunk-XCW5YNMS.mjs} +34 -1
- package/dist/codeBlock/index.js +2 -2
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +2 -2
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/combobox/index.js +1 -1
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +1 -1
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.js +1 -1
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +1 -1
- package/dist/command/index.mjs.map +1 -1
- package/dist/commonTypes-189mW5eB.d.mts +8 -0
- package/dist/commonTypes-189mW5eB.d.ts +8 -0
- package/dist/commonTypes-DUY2LJm1.d.mts +3 -0
- package/dist/commonTypes-DUY2LJm1.d.ts +3 -0
- package/dist/commonTypes-D_7LV7Ri.d.mts +5 -0
- package/dist/commonTypes-D_7LV7Ri.d.ts +5 -0
- package/dist/dataTable/index.d.mts +1 -0
- package/dist/dataTable/index.d.ts +1 -0
- package/dist/dataTable/index.js +3 -3
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +3 -3
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.d.mts +1 -1
- package/dist/datePicker/index.d.ts +1 -1
- package/dist/datePicker/index.js +3 -3
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs +3 -3
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/dialog/index.js +1 -1
- package/dist/dialog/index.js.map +1 -1
- package/dist/dialog/index.mjs +1 -1
- package/dist/dialog/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +77 -2
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +77 -2
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.d.mts +6 -1
- package/dist/dropdownMenu/index.d.ts +6 -1
- package/dist/dropdownMenu/index.js +29 -6
- package/dist/dropdownMenu/index.js.map +1 -1
- package/dist/dropdownMenu/index.mjs +29 -6
- package/dist/dropdownMenu/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +13 -5
- package/dist/elements/index.d.ts +13 -5
- package/dist/elements/index.js +622 -532
- package/dist/elements/index.mjs +6 -6
- package/dist/fileDropzone/index.d.mts +2 -2
- package/dist/fileDropzone/index.d.ts +2 -2
- package/dist/fileDropzone/index.js +2 -2
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +2 -2
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/fileUploader/index.d.mts +2 -2
- package/dist/fileUploader/index.d.ts +2 -2
- package/dist/glow/index.d.mts +3 -3
- package/dist/glow/index.d.ts +3 -3
- package/dist/hooks/index.d.mts +8 -1
- package/dist/hooks/index.d.ts +8 -1
- package/dist/hooks/index.js +35 -0
- package/dist/hooks/index.mjs +5 -1
- package/dist/index.css +0 -91
- package/dist/index.d.mts +35 -4
- package/dist/index.d.ts +35 -4
- package/dist/index.js +1104 -960
- package/dist/index.mjs +1055 -913
- package/dist/input/index.d.mts +2 -9
- package/dist/input/index.d.ts +2 -9
- package/dist/interfaceSettings/index.js +160 -117
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +160 -117
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.d.mts +1 -2
- package/dist/label/index.d.ts +1 -2
- package/dist/layout/index.d.mts +3 -1
- package/dist/layout/index.d.ts +3 -1
- package/dist/layout/index.js +89 -3
- package/dist/layout/index.mjs +14 -3
- package/dist/logos/index.d.mts +5 -0
- package/dist/logos/index.d.ts +5 -0
- package/dist/logos/index.js +75 -0
- package/dist/logos/index.js.map +1 -1
- package/dist/logos/index.mjs +75 -0
- package/dist/logos/index.mjs.map +1 -1
- package/dist/navigationMenu/index.d.mts +2 -1
- package/dist/navigationMenu/index.d.ts +2 -1
- package/dist/pagination/index.d.mts +1 -1
- package/dist/pagination/index.d.ts +1 -1
- package/dist/phoneInput/index.d.mts +1 -1
- package/dist/phoneInput/index.d.ts +1 -1
- package/dist/progress/index.d.mts +8 -1
- package/dist/progress/index.d.ts +8 -1
- package/dist/radio/index.d.mts +15 -1
- package/dist/radio/index.d.ts +15 -1
- package/dist/radio/index.js +160 -117
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +160 -117
- package/dist/radio/index.mjs.map +1 -1
- package/dist/scrollArea/index.d.mts +1 -1
- package/dist/scrollArea/index.d.ts +1 -1
- package/dist/separator/index.d.mts +1 -1
- package/dist/separator/index.d.ts +1 -1
- package/dist/signature/index.d.mts +1 -2
- package/dist/signature/index.d.ts +1 -2
- package/dist/simpleTable/index.d.mts +1 -1
- package/dist/simpleTable/index.d.ts +1 -1
- package/dist/sonner/index.d.mts +1 -1
- package/dist/sonner/index.d.ts +1 -1
- package/dist/sortButton/index.js +2 -2
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +2 -2
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +3 -9
- package/dist/splitButton/index.d.ts +3 -9
- package/dist/splitButton/index.js +2 -2
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +2 -2
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/switch/index.d.mts +1 -1
- package/dist/switch/index.d.ts +1 -1
- package/dist/tabs/index.d.mts +4 -2
- package/dist/tabs/index.d.ts +4 -2
- package/dist/tabs/index.js +123 -174
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +118 -169
- package/dist/tabs/index.mjs.map +1 -1
- 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/tooltip/index.d.mts +4 -3
- package/dist/tooltip/index.d.ts +4 -3
- package/package.json +1 -1
- package/dist/Label-UbMDLtJF.d.mts +0 -14
- package/dist/Label-UbMDLtJF.d.ts +0 -14
- package/dist/chunk-WDCKXU54.mjs +0 -303
- package/dist/commonTypes-CgDwjGvU.d.mts +0 -5
- package/dist/commonTypes-CgDwjGvU.d.ts +0 -5
- package/dist/commonTypes-DZdITB5m.d.mts +0 -4
- package/dist/commonTypes-DZdITB5m.d.ts +0 -4
- package/dist/floatBox/index.d.mts +0 -15
- package/dist/floatBox/index.d.ts +0 -15
- package/dist/floatBox/index.js +0 -105
- package/dist/floatBox/index.js.map +0 -1
- package/dist/floatBox/index.mjs +0 -69
- package/dist/floatBox/index.mjs.map +0 -1
@@ -1,17 +1,17 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Input
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-DYPGZ2IP.mjs";
|
5
5
|
import {
|
6
6
|
StopPropagationWrapper
|
7
7
|
} from "../../chunk-47APBDKK.mjs";
|
8
8
|
import {
|
9
9
|
Select
|
10
|
-
} from "../../chunk-
|
10
|
+
} from "../../chunk-QZIENYTE.mjs";
|
11
11
|
import {
|
12
12
|
EyeIcon,
|
13
13
|
HiddenEyeIcon
|
14
|
-
} from "../../chunk-
|
14
|
+
} from "../../chunk-AJTYKC5R.mjs";
|
15
15
|
import {
|
16
16
|
Button,
|
17
17
|
Card,
|
@@ -24,7 +24,7 @@ import {
|
|
24
24
|
Label,
|
25
25
|
Loading,
|
26
26
|
cn
|
27
|
-
} from "../../chunk-
|
27
|
+
} from "../../chunk-CTNKKP2O.mjs";
|
28
28
|
|
29
29
|
// blocks/auth/AuthButtons.tsx
|
30
30
|
import React2 from "react";
|
@@ -252,6 +252,13 @@ var Logos = {
|
|
252
252
|
d: "M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148a13.98 13.98 0 0 0 10.15 5.144 4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z"
|
253
253
|
}
|
254
254
|
)),
|
255
|
+
x: (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement("title", null, "X"), /* @__PURE__ */ React.createElement(
|
256
|
+
"path",
|
257
|
+
{
|
258
|
+
fill: "currentColor",
|
259
|
+
d: "M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"
|
260
|
+
}
|
261
|
+
)),
|
255
262
|
instagram: (props) => /* @__PURE__ */ React.createElement(
|
256
263
|
"svg",
|
257
264
|
{
|
@@ -340,6 +347,23 @@ var Logos = {
|
|
340
347
|
d: "M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
|
341
348
|
}
|
342
349
|
)),
|
350
|
+
googleplay: (props) => /* @__PURE__ */ React.createElement(
|
351
|
+
"svg",
|
352
|
+
{
|
353
|
+
role: "img",
|
354
|
+
viewBox: "0 0 24 24",
|
355
|
+
xmlns: "http://www.w3.org/2000/svg",
|
356
|
+
...props
|
357
|
+
},
|
358
|
+
/* @__PURE__ */ React.createElement("title", null, "Google Play"),
|
359
|
+
/* @__PURE__ */ React.createElement(
|
360
|
+
"path",
|
361
|
+
{
|
362
|
+
fill: "currentColor",
|
363
|
+
d: "M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594zM1.337.924a1.486 1.486 0 0 0-.112.568v21.017c0 .217.045.419.124.6l11.155-11.087L1.337.924zm12.207 10.065l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973zm0 2.067l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z"
|
364
|
+
}
|
365
|
+
)
|
366
|
+
),
|
343
367
|
apple: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
344
368
|
"path",
|
345
369
|
{
|
@@ -347,6 +371,23 @@ var Logos = {
|
|
347
371
|
fill: "currentColor"
|
348
372
|
}
|
349
373
|
)),
|
374
|
+
applestore: (props) => /* @__PURE__ */ React.createElement(
|
375
|
+
"svg",
|
376
|
+
{
|
377
|
+
role: "img",
|
378
|
+
viewBox: "0 0 24 24",
|
379
|
+
xmlns: "http://www.w3.org/2000/svg",
|
380
|
+
...props
|
381
|
+
},
|
382
|
+
/* @__PURE__ */ React.createElement("title", null, "App Store"),
|
383
|
+
/* @__PURE__ */ React.createElement(
|
384
|
+
"path",
|
385
|
+
{
|
386
|
+
fill: "currentColor",
|
387
|
+
d: "M8.8086 14.9194l6.1107-11.0368c.0837-.1513.1682-.302.2437-.4584.0685-.142.1267-.2854.1646-.4403.0803-.3259.0588-.6656-.066-.9767-.1238-.3095-.3417-.5678-.6201-.7355a1.4175 1.4175 0 0 0-.921-.1924c-.3207.043-.6135.1935-.8443.4288-.1094.1118-.1996.2361-.2832.369-.092.1463-.175.2979-.259.4492l-.3864.6979-.3865-.6979c-.0837-.1515-.1667-.303-.2587-.4492-.0837-.1329-.1739-.2572-.2835-.369-.2305-.2353-.5233-.3857-.844-.429a1.4181 1.4181 0 0 0-.921.1926c-.2784.1677-.4964.426-.6203.7355-.1246.311-.1461.6508-.066.9767.038.155.0962.2984.1648.4403.0753.1564.1598.307.2437.4584l1.248 2.2543-4.8625 8.7825H2.0295c-.1676 0-.3351-.0007-.5026.0092-.1522.009-.3004.0284-.448.0714-.3108.0906-.5822.2798-.7783.548-.195.2665-.3006.5929-.3006.9279 0 .3352.1057.6612.3006.9277.196.2683.4675.4575.7782.548.1477.043.296.0623.4481.0715.1675.01.335.009.5026.009h13.0974c.0171-.0357.059-.1294.1-.2697.415-1.4151-.6156-2.843-2.0347-2.843zM3.113 18.5418l-.7922 1.5008c-.0818.1553-.1644.31-.2384.4705-.067.1458-.124.293-.1611.452-.0785.3346-.0576.6834.0645 1.0029.1212.3175.3346.583.607.7549.2727.172.5891.2416.9013.1975.3139-.044.6005-.1986.8263-.4402.1072-.1148.1954-.2424.2772-.3787.0902-.1503.1714-.3059.2535-.4612L6 19.4636c-.0896-.149-.9473-1.4704-2.887-.9218m20.5861-3.0056a1.4707 1.4707 0 0 0-.779-.5407c-.1476-.0425-.2961-.0616-.4483-.0705-.1678-.0099-.3352-.0091-.503-.0091H18.648l-4.3891-7.817c-.6655.7005-.9632 1.485-1.0773 2.1976-.1655 1.0333.0367 2.0934.546 3.0004l5.2741 9.3933c.084.1494.167.299.2591.4435.0837.131.1739.2537.2836.364.231.2323.5238.3809.8449.4232.3192.0424.643-.0244.9217-.1899.2784-.1653.4968-.4204.621-.7257.1246-.3072.146-.6425.0658-.9641-.0381-.1529-.0962-.2945-.165-.4346-.0753-.1543-.1598-.303-.2438-.4524l-1.216-2.1662h1.596c.1677 0 .3351.0009.5029-.009.1522-.009.3007-.028.4483-.0705a1.4707 1.4707 0 0 0 .779-.5407A1.5386 1.5386 0 0 0 24 16.452a1.539 1.539 0 0 0-.3009-.9158Z"
|
388
|
+
}
|
389
|
+
)
|
390
|
+
),
|
350
391
|
paypal: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
351
392
|
"path",
|
352
393
|
{
|
@@ -379,6 +420,40 @@ var Logos = {
|
|
379
420
|
...props
|
380
421
|
},
|
381
422
|
/* @__PURE__ */ React.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })
|
423
|
+
),
|
424
|
+
visa: (props) => /* @__PURE__ */ React.createElement(
|
425
|
+
"svg",
|
426
|
+
{
|
427
|
+
role: "img",
|
428
|
+
viewBox: "0 0 24 24",
|
429
|
+
xmlns: "http://www.w3.org/2000/svg",
|
430
|
+
...props
|
431
|
+
},
|
432
|
+
/* @__PURE__ */ React.createElement("title", null, "Visa"),
|
433
|
+
/* @__PURE__ */ React.createElement(
|
434
|
+
"path",
|
435
|
+
{
|
436
|
+
fill: "currentColor",
|
437
|
+
d: "M9.112 8.262L5.97 15.758H3.92L2.374 9.775c-.094-.368-.175-.503-.461-.658C1.447 8.864.677 8.627 0 8.479l.046-.217h3.3a.904.904 0 01.894.764l.817 4.338 2.018-5.102zm8.033 5.049c.008-1.979-2.736-2.088-2.717-2.972.006-.269.262-.555.822-.628a3.66 3.66 0 011.913.336l.34-1.59a5.207 5.207 0 00-1.814-.333c-1.917 0-3.266 1.02-3.278 2.479-.012 1.079.963 1.68 1.698 2.04.756.367 1.01.603 1.006.931-.005.504-.602.725-1.16.734-.975.015-1.54-.263-1.992-.473l-.351 1.642c.453.208 1.289.39 2.156.398 2.037 0 3.37-1.006 3.377-2.564m5.061 2.447H24l-1.565-7.496h-1.656a.883.883 0 00-.826.55l-2.909 6.946h2.036l.405-1.12h2.488zm-2.163-2.656l1.02-2.815.588 2.815zm-8.16-4.84l-1.603 7.496H8.34l1.605-7.496z"
|
438
|
+
}
|
439
|
+
)
|
440
|
+
),
|
441
|
+
mastercard: (props) => /* @__PURE__ */ React.createElement(
|
442
|
+
"svg",
|
443
|
+
{
|
444
|
+
role: "img",
|
445
|
+
viewBox: "0 0 24 24",
|
446
|
+
xmlns: "http://www.w3.org/2000/svg",
|
447
|
+
...props
|
448
|
+
},
|
449
|
+
/* @__PURE__ */ React.createElement("title", null, "MasterCard"),
|
450
|
+
/* @__PURE__ */ React.createElement(
|
451
|
+
"path",
|
452
|
+
{
|
453
|
+
fill: "currentColor",
|
454
|
+
d: "M11.343 18.031c.058.049.12.098.181.146-1.177.783-2.59 1.238-4.107 1.238C3.32 19.416 0 16.096 0 12c0-4.095 3.32-7.416 7.416-7.416 1.518 0 2.931.456 4.105 1.238-.06.051-.12.098-.165.15C9.6 7.489 8.595 9.688 8.595 12c0 2.311 1.001 4.51 2.748 6.031zm5.241-13.447c-1.52 0-2.931.456-4.105 1.238.06.051.12.098.165.15C14.4 7.489 15.405 9.688 15.405 12c0 2.31-1.001 4.507-2.748 6.031-.058.049-.12.098-.181.146 1.177.783 2.588 1.238 4.107 1.238C20.68 19.416 24 16.096 24 12c0-4.094-3.32-7.416-7.416-7.416zM12 6.174c-.096.075-.189.15-.28.231C10.156 7.764 9.169 9.765 9.169 12c0 2.236.987 4.236 2.551 5.595.09.08.185.158.28.232.096-.074.189-.152.28-.232 1.563-1.359 2.551-3.359 2.551-5.595 0-2.235-.987-4.236-2.551-5.595-.09-.08-.184-.156-.28-.231z"
|
455
|
+
}
|
456
|
+
)
|
382
457
|
)
|
383
458
|
};
|
384
459
|
|
@@ -447,12 +447,12 @@ var Button = React5.forwardRef(
|
|
447
447
|
children,
|
448
448
|
labelProps,
|
449
449
|
showHelperText = false,
|
450
|
-
|
450
|
+
asInput = false,
|
451
451
|
...props
|
452
452
|
}, ref) => {
|
453
453
|
const Comp = "button";
|
454
454
|
const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
|
455
|
-
if (
|
455
|
+
if (asInput) {
|
456
456
|
return /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, label && /* @__PURE__ */ React5.createElement(Label, { ...labelProps }, label), /* @__PURE__ */ React5.createElement(
|
457
457
|
Comp,
|
458
458
|
{
|
@@ -672,6 +672,7 @@ var Radio = (0, import_react4.forwardRef)(
|
|
672
672
|
tabsContainerClassName,
|
673
673
|
forceHideHelperText = false,
|
674
674
|
onChange,
|
675
|
+
containerClassNames,
|
675
676
|
...props
|
676
677
|
}, ref) => {
|
677
678
|
var _a, _b, _c;
|
@@ -727,161 +728,203 @@ var Radio = (0, import_react4.forwardRef)(
|
|
727
728
|
];
|
728
729
|
switch (design) {
|
729
730
|
case "tabs":
|
730
|
-
return /* @__PURE__ */ import_react4.default.createElement(
|
731
|
-
"
|
731
|
+
return /* @__PURE__ */ import_react4.default.createElement(
|
732
|
+
"div",
|
732
733
|
{
|
733
|
-
ref: parentRef,
|
734
734
|
className: cn(
|
735
|
-
|
736
|
-
|
737
|
-
orientationStyle[orientation],
|
738
|
-
widthStyle[width],
|
739
|
-
tabsContainerClassName
|
735
|
+
"hawa-gap-2 hawa-flex hawa-flex-col",
|
736
|
+
containerClassNames == null ? void 0 : containerClassNames.tabs
|
740
737
|
)
|
741
738
|
},
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
739
|
+
props.label && /* @__PURE__ */ import_react4.default.createElement(Label, { ...labelProps }, props.label),
|
740
|
+
/* @__PURE__ */ import_react4.default.createElement(
|
741
|
+
"ul",
|
742
|
+
{
|
743
|
+
ref: parentRef,
|
744
|
+
className: cn(
|
745
|
+
props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
|
746
|
+
"hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium hawa-h-[40px]",
|
747
|
+
orientationStyle[orientation],
|
748
|
+
widthStyle[width],
|
749
|
+
tabsContainerClassName
|
750
|
+
)
|
751
|
+
},
|
752
|
+
(_b = props.options) == null ? void 0 : _b.map((opt, o) => {
|
753
|
+
return opt.tooltip ? /* @__PURE__ */ import_react4.default.createElement(
|
754
|
+
PopoverRoot,
|
752
755
|
{
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
+
key: o,
|
757
|
+
open: o === openTooltip,
|
758
|
+
onOpenChange: (bool) => setOpenTooltip(bool ? o : null)
|
756
759
|
},
|
757
760
|
/* @__PURE__ */ import_react4.default.createElement(
|
758
|
-
|
761
|
+
PopoverTrigger,
|
759
762
|
{
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
763
|
+
onMouseEnter: () => setOpenTooltip(o),
|
764
|
+
onMouseLeave: () => setOpenTooltip(null),
|
765
|
+
asChild: true
|
766
|
+
},
|
767
|
+
/* @__PURE__ */ import_react4.default.createElement(
|
768
|
+
"li",
|
769
|
+
{
|
770
|
+
"aria-current": "page",
|
771
|
+
onClick: () => {
|
772
|
+
if (props.disabled || opt.disabled)
|
773
|
+
return;
|
774
|
+
handleChange(opt);
|
775
|
+
},
|
776
|
+
className: cn(
|
777
|
+
...radio_option_tabs_styling,
|
778
|
+
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
779
|
+
)
|
765
780
|
},
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
781
|
+
opt.icon && opt.icon,
|
782
|
+
opt.label
|
783
|
+
)
|
784
|
+
),
|
785
|
+
/* @__PURE__ */ import_react4.default.createElement(PopoverContent, { ...opt.tooltipContentProps }, opt.tooltip)
|
786
|
+
) : /* @__PURE__ */ import_react4.default.createElement(
|
787
|
+
"li",
|
788
|
+
{
|
789
|
+
key: o,
|
790
|
+
"aria-current": "page",
|
791
|
+
onClick: () => {
|
792
|
+
if (props.disabled || opt.disabled)
|
793
|
+
return;
|
794
|
+
handleChange(opt);
|
770
795
|
},
|
771
|
-
|
772
|
-
|
773
|
-
|
796
|
+
className: cn(
|
797
|
+
...radio_option_tabs_styling,
|
798
|
+
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
799
|
+
)
|
800
|
+
},
|
801
|
+
opt.icon && opt.icon,
|
802
|
+
opt.label
|
803
|
+
);
|
804
|
+
})
|
805
|
+
),
|
806
|
+
!forceHideHelperText && /* @__PURE__ */ import_react4.default.createElement(HelperText, { helperText: props.helperText })
|
807
|
+
);
|
808
|
+
case "bordered":
|
809
|
+
return /* @__PURE__ */ import_react4.default.createElement(
|
810
|
+
"div",
|
811
|
+
{
|
812
|
+
className: cn(
|
813
|
+
orientationStyle[orientation],
|
814
|
+
"hawa-gap-4",
|
815
|
+
containerClassNames == null ? void 0 : containerClassNames.bordered
|
816
|
+
)
|
817
|
+
},
|
818
|
+
props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react4.default.createElement("div", { key: i, className: "hawa-w-full hawa-rounded hawa-border" }, /* @__PURE__ */ import_react4.default.createElement(
|
819
|
+
"div",
|
820
|
+
{
|
821
|
+
className: cn(
|
822
|
+
"radio-item radio-item-bordered hawa-flex hawa-items-center hawa-transition-all",
|
823
|
+
props.direction === "rtl" ? "margin-left right-19px" : "margin-right left-23px"
|
774
824
|
),
|
775
|
-
|
776
|
-
|
777
|
-
|
825
|
+
key: i + 1
|
826
|
+
},
|
827
|
+
/* @__PURE__ */ import_react4.default.createElement(
|
828
|
+
"input",
|
778
829
|
{
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
830
|
+
disabled: opt.disabled,
|
831
|
+
id: opt.value.toString(),
|
832
|
+
type: "radio",
|
833
|
+
value: opt.value,
|
834
|
+
name,
|
835
|
+
onChange: () => handleChange(opt)
|
836
|
+
}
|
837
|
+
),
|
838
|
+
/* @__PURE__ */ import_react4.default.createElement(
|
839
|
+
"label",
|
840
|
+
{
|
841
|
+
htmlFor: opt.value.toString(),
|
786
842
|
className: cn(
|
787
|
-
|
788
|
-
|
843
|
+
"hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium hawa-text-black dark:hawa-text-white",
|
844
|
+
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
|
789
845
|
)
|
790
846
|
},
|
791
|
-
opt.icon && opt.icon,
|
792
847
|
opt.label
|
793
|
-
)
|
794
|
-
|
795
|
-
)
|
796
|
-
case "
|
797
|
-
return /* @__PURE__ */ import_react4.default.createElement(
|
798
|
-
"
|
848
|
+
)
|
849
|
+
)))
|
850
|
+
);
|
851
|
+
case "cards":
|
852
|
+
return /* @__PURE__ */ import_react4.default.createElement(
|
853
|
+
"ul",
|
799
854
|
{
|
800
855
|
className: cn(
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
856
|
+
orientationStyle[orientation],
|
857
|
+
"hawa-gap-4",
|
858
|
+
containerClassNames == null ? void 0 : containerClassNames.cards
|
859
|
+
)
|
805
860
|
},
|
806
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
861
|
+
(_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react4.default.createElement("li", { key: o, onClick: () => handleChange(opt) }, /* @__PURE__ */ import_react4.default.createElement(
|
807
862
|
"input",
|
808
863
|
{
|
809
|
-
disabled: opt.disabled,
|
810
|
-
id: opt.value.toString(),
|
811
864
|
type: "radio",
|
812
|
-
|
865
|
+
id: opt.value.toString(),
|
813
866
|
name,
|
814
|
-
|
867
|
+
value: opt.value.toString(),
|
868
|
+
className: "hawa-peer hawa-hidden",
|
869
|
+
required: true,
|
870
|
+
disabled: opt.disabled
|
815
871
|
}
|
816
|
-
),
|
817
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
872
|
+
), /* @__PURE__ */ import_react4.default.createElement(
|
818
873
|
"label",
|
819
874
|
{
|
820
875
|
htmlFor: opt.value.toString(),
|
821
876
|
className: cn(
|
822
|
-
"hawa-
|
823
|
-
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-
|
877
|
+
"hawa-inline-flex hawa-h-full hawa-w-full hawa-transition-all hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-foreground/10 hawa-bg-background hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-foreground/10 dark:hawa-bg-foreground/5 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
|
878
|
+
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-foreground/10 hover:hawa-text-gray-600 dark:hover:hawa-bg-foreground/20 dark:hover:hawa-text-gray-300"
|
824
879
|
)
|
825
880
|
},
|
826
|
-
opt.label
|
827
|
-
)
|
828
|
-
)
|
829
|
-
case "cards":
|
830
|
-
return /* @__PURE__ */ import_react4.default.createElement("ul", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, (_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react4.default.createElement("li", { key: o, onClick: () => handleChange(opt) }, /* @__PURE__ */ import_react4.default.createElement(
|
831
|
-
"input",
|
832
|
-
{
|
833
|
-
type: "radio",
|
834
|
-
id: opt.value.toString(),
|
835
|
-
name,
|
836
|
-
value: opt.value.toString(),
|
837
|
-
className: "hawa-peer hawa-hidden",
|
838
|
-
required: true,
|
839
|
-
disabled: opt.disabled
|
840
|
-
}
|
841
|
-
), /* @__PURE__ */ import_react4.default.createElement(
|
842
|
-
"label",
|
843
|
-
{
|
844
|
-
htmlFor: opt.value.toString(),
|
845
|
-
className: cn(
|
846
|
-
"hawa-inline-flex hawa-h-full hawa-w-full hawa-transition-all hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-foreground/10 hawa-bg-background hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-foreground/10 dark:hawa-bg-foreground/5 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
|
847
|
-
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-foreground/10 hover:hawa-text-gray-600 dark:hover:hawa-bg-foreground/20 dark:hover:hawa-text-gray-300"
|
848
|
-
)
|
849
|
-
},
|
850
|
-
/* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
|
851
|
-
))));
|
881
|
+
/* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react4.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
|
882
|
+
)))
|
883
|
+
);
|
852
884
|
default:
|
853
|
-
return /* @__PURE__ */ import_react4.default.createElement(
|
885
|
+
return /* @__PURE__ */ import_react4.default.createElement(
|
854
886
|
"div",
|
855
887
|
{
|
856
888
|
className: cn(
|
857
|
-
"
|
858
|
-
|
859
|
-
)
|
860
|
-
key: i + 1
|
889
|
+
"hawa-flex hawa-flex-col hawa-gap-2",
|
890
|
+
containerClassNames == null ? void 0 : containerClassNames.default
|
891
|
+
)
|
861
892
|
},
|
862
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
863
|
-
|
893
|
+
props.label && /* @__PURE__ */ import_react4.default.createElement(Label, { ...labelProps }, props.label),
|
894
|
+
/* @__PURE__ */ import_react4.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react4.default.createElement(
|
895
|
+
"div",
|
864
896
|
{
|
865
|
-
disabled: opt.disabled,
|
866
|
-
id: opt.value.toString(),
|
867
|
-
type: "radio",
|
868
|
-
value: opt.value,
|
869
|
-
name,
|
870
|
-
onChange: () => handleChange(opt)
|
871
|
-
}
|
872
|
-
),
|
873
|
-
/* @__PURE__ */ import_react4.default.createElement(
|
874
|
-
"label",
|
875
|
-
{
|
876
|
-
htmlFor: opt.value.toString(),
|
877
897
|
className: cn(
|
878
|
-
"
|
879
|
-
|
880
|
-
)
|
898
|
+
"radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
|
899
|
+
props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
|
900
|
+
),
|
901
|
+
key: i + 1
|
881
902
|
},
|
882
|
-
|
883
|
-
|
884
|
-
|
903
|
+
/* @__PURE__ */ import_react4.default.createElement(
|
904
|
+
"input",
|
905
|
+
{
|
906
|
+
disabled: opt.disabled,
|
907
|
+
id: opt.value.toString(),
|
908
|
+
type: "radio",
|
909
|
+
value: opt.value,
|
910
|
+
name,
|
911
|
+
onChange: () => handleChange(opt)
|
912
|
+
}
|
913
|
+
),
|
914
|
+
/* @__PURE__ */ import_react4.default.createElement(
|
915
|
+
"label",
|
916
|
+
{
|
917
|
+
htmlFor: opt.value.toString(),
|
918
|
+
className: cn(
|
919
|
+
"hawa-text-sm hawa-font-medium dark:hawa-text-white",
|
920
|
+
opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
|
921
|
+
)
|
922
|
+
},
|
923
|
+
opt.label
|
924
|
+
)
|
925
|
+
))),
|
926
|
+
/* @__PURE__ */ import_react4.default.createElement(HelperText, { helperText: props.helperText })
|
927
|
+
);
|
885
928
|
}
|
886
929
|
}
|
887
930
|
);
|
@@ -1,27 +1,27 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Textarea
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-GN7EIDTE.mjs";
|
5
5
|
import {
|
6
6
|
Select
|
7
|
-
} from "../../chunk-
|
7
|
+
} from "../../chunk-QZIENYTE.mjs";
|
8
8
|
import {
|
9
9
|
Popover,
|
10
10
|
Radio
|
11
|
-
} from "../../chunk-
|
11
|
+
} from "../../chunk-CTZRVSTI.mjs";
|
12
12
|
import {
|
13
13
|
BadEmoji,
|
14
14
|
GoodEmoji,
|
15
15
|
VeryBadEmoji,
|
16
16
|
VeryGoodEmoji
|
17
|
-
} from "../../chunk-
|
17
|
+
} from "../../chunk-AJTYKC5R.mjs";
|
18
18
|
import {
|
19
19
|
Button,
|
20
20
|
Card,
|
21
21
|
CardContent,
|
22
22
|
Label,
|
23
23
|
cn
|
24
|
-
} from "../../chunk-
|
24
|
+
} from "../../chunk-CTNKKP2O.mjs";
|
25
25
|
|
26
26
|
// blocks/feedback/UserReferralSource.tsx
|
27
27
|
import React, { useRef, useState } from "react";
|
package/dist/blocks/index.d.mts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import React__default, { FC, InputHTMLAttributes } from 'react';
|
2
2
|
import { ThirdPartyAuthTextsTypes, LoginFormTextsTypes, RegisterFormTextsTypes, NewPasswordTextsTypes, ResetPasswordTextsTypes, BaseInputType, TextInputType, PricingCardProps, PlanFeature, PricingPlanTexts } from '../types/index.mjs';
|
3
|
-
import { P as PhoneInputProps, S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-
|
3
|
+
import { P as PhoneInputProps, S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-Dyvlywnk.mjs';
|
4
4
|
import { D as DirectionType, a as RadioOptionType, O as OrientationType } from '../commonTypes-C-g8nFFC.mjs';
|
5
|
-
import { M as MenuItemType } from '../DropdownMenu-
|
5
|
+
import { M as MenuItemType } from '../DropdownMenu-FVVDS2rX.mjs';
|
6
6
|
import '@radix-ui/react-popover';
|
7
7
|
import '@radix-ui/react-dropdown-menu';
|
8
8
|
|
@@ -414,6 +414,9 @@ type ContactFormProps = {
|
|
414
414
|
onSubmit: (e: ContactFormData) => void;
|
415
415
|
customFields?: CustomField[];
|
416
416
|
showSuccess?: boolean;
|
417
|
+
classNames?: {
|
418
|
+
submitButton?: string;
|
419
|
+
};
|
417
420
|
texts?: {
|
418
421
|
submit: string;
|
419
422
|
name: TextInputType;
|
package/dist/blocks/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import React__default, { FC, InputHTMLAttributes } from 'react';
|
2
2
|
import { ThirdPartyAuthTextsTypes, LoginFormTextsTypes, RegisterFormTextsTypes, NewPasswordTextsTypes, ResetPasswordTextsTypes, BaseInputType, TextInputType, PricingCardProps, PlanFeature, PricingPlanTexts } from '../types/index.js';
|
3
|
-
import { P as PhoneInputProps, S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-
|
3
|
+
import { P as PhoneInputProps, S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-DlPwVCG4.js';
|
4
4
|
import { D as DirectionType, a as RadioOptionType, O as OrientationType } from '../commonTypes-C-g8nFFC.js';
|
5
|
-
import { M as MenuItemType } from '../DropdownMenu-
|
5
|
+
import { M as MenuItemType } from '../DropdownMenu-SFJtRGAw.js';
|
6
6
|
import '@radix-ui/react-popover';
|
7
7
|
import '@radix-ui/react-dropdown-menu';
|
8
8
|
|
@@ -414,6 +414,9 @@ type ContactFormProps = {
|
|
414
414
|
onSubmit: (e: ContactFormData) => void;
|
415
415
|
customFields?: CustomField[];
|
416
416
|
showSuccess?: boolean;
|
417
|
+
classNames?: {
|
418
|
+
submitButton?: string;
|
419
|
+
};
|
417
420
|
texts?: {
|
418
421
|
submit: string;
|
419
422
|
name: TextInputType;
|