@sikka/hawa 0.26.19-next → 0.26.20
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/accordion/index.js +10 -12
- package/dist/accordion/index.mjs +8 -8
- package/dist/alert/index.js +8 -7
- package/dist/alert/index.mjs +7 -6
- package/dist/appLayout/index.js +13 -12
- package/dist/appLayout/index.mjs +12 -11
- package/dist/appMenubar/index.js +4 -4
- package/dist/appMenubar/index.mjs +2 -2
- package/dist/appStores/index.js +2 -2
- package/dist/appStores/index.mjs +1 -1
- package/dist/appTabs/index.js +4 -4
- package/dist/appTabs/index.mjs +2 -2
- package/dist/appTopbar/index.js +6 -6
- package/dist/appTopbar/index.mjs +4 -4
- package/dist/avatar/index.js +5 -5
- package/dist/avatar/index.mjs +4 -4
- package/dist/backToTop/index.js +8 -7
- package/dist/backToTop/index.mjs +7 -6
- package/dist/badge/index.js +4 -4
- package/dist/badge/index.mjs +2 -2
- package/dist/blocks/auth/index.js +38 -37
- package/dist/blocks/auth/index.mjs +24 -24
- package/dist/blocks/feedback/index.js +27 -26
- package/dist/blocks/feedback/index.mjs +11 -11
- package/dist/blocks/index.js +77 -76
- package/dist/blocks/index.mjs +34 -34
- package/dist/blocks/misc/index.js +31 -30
- package/dist/blocks/misc/index.mjs +14 -14
- package/dist/blocks/pricing/index.js +123 -122
- package/dist/blocks/pricing/index.mjs +18 -18
- package/dist/breadcrumb/index.js +2 -2
- package/dist/breadcrumb/index.mjs +1 -1
- package/dist/button/index.js +6 -5
- package/dist/button/index.mjs +5 -4
- package/dist/card/index.js +4 -4
- package/dist/card/index.mjs +2 -2
- package/dist/carousel/index.d.mts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/index.js +9 -18
- package/dist/carousel/index.mjs +7 -16
- package/dist/checkbox/index.js +4 -4
- package/dist/checkbox/index.mjs +2 -2
- package/dist/chip/index.js +4 -4
- package/dist/chip/index.mjs +2 -2
- package/dist/{chunk-343SRWR4.mjs → chunk-3GBITBPL.mjs} +2 -2
- package/dist/{chunk-TTKRRN7S.mjs → chunk-4IOG44R3.mjs} +2 -2
- package/dist/{chunk-3N6JJKMN.mjs → chunk-65TG6EVD.mjs} +5 -4
- package/dist/{chunk-LT3VHLAG.mjs → chunk-APZM24KK.mjs} +2 -2
- package/dist/{chunk-FYH74ZRQ.mjs → chunk-AREFDTXK.mjs} +9 -8
- package/dist/{chunk-FNVYY7ND.mjs → chunk-D22AALLE.mjs} +1 -1
- package/dist/{chunk-OD5WIQGQ.mjs → chunk-FDKCMEMD.mjs} +2 -2
- package/dist/{chunk-KNHT2UBG.mjs → chunk-KMCIHW76.mjs} +2 -2
- package/dist/{chunk-M2ZS3EDT.mjs → chunk-OAXF3RCQ.mjs} +2 -2
- package/dist/chunk-OTGCLEKC.mjs +62 -0
- package/dist/{chunk-OE23TTPS.mjs → chunk-POIP5U4M.mjs} +3 -3
- package/dist/{chunk-EYUG3GRC.mjs → chunk-SJ2Z6ZOG.mjs} +4 -4
- package/dist/{chunk-WRZFWCOQ.mjs → chunk-TGZRVRLP.mjs} +4 -4
- package/dist/{chunk-TE3BKEXL.mjs → chunk-TWNGV3RE.mjs} +1 -1
- package/dist/{chunk-ATUSR6VI.mjs → chunk-U3TZWNDZ.mjs} +4 -4
- package/dist/{chunk-W77KCP35.mjs → chunk-VQQ6MUX5.mjs} +2 -2
- package/dist/{chunk-SUS6O2PO.mjs → chunk-WPSUV4AD.mjs} +21 -21
- package/dist/{chunk-3KMBSNM3.mjs → chunk-Z5SL5QTQ.mjs} +11 -10
- package/dist/{chunk-ZCZ3WARS.mjs → chunk-ZS3FB3PO.mjs} +1 -1
- package/dist/codeBlock/index.js +153 -2454
- package/dist/codeBlock/index.mjs +129 -2393
- package/dist/collapsible/index.js +2 -2
- package/dist/collapsible/index.mjs +1 -1
- package/dist/colorPicker/index.js +7 -7
- package/dist/colorPicker/index.mjs +126 -2
- package/dist/combobox/index.js +193 -193
- package/dist/combobox/index.mjs +8 -8
- package/dist/command/index.js +5 -5
- package/dist/command/index.mjs +1 -1
- package/dist/copyrights/index.js +2 -2
- package/dist/copyrights/index.mjs +1 -1
- package/dist/count/index.js +2 -2
- package/dist/count/index.mjs +1 -1
- package/dist/dataTable/index.js +16 -15
- package/dist/dataTable/index.mjs +15 -14
- package/dist/destroyableCard/index.js +6 -8
- package/dist/destroyableCard/index.mjs +4 -4
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/index.mjs +2 -2
- package/dist/docsLayout/index.js +12 -11
- package/dist/docsLayout/index.mjs +11 -10
- package/dist/docsSidebar/index.js +4 -4
- package/dist/docsSidebar/index.mjs +2 -2
- package/dist/dropdownMenu/index.js +4 -4
- package/dist/dropdownMenu/index.mjs +2 -2
- package/dist/elements/index.d.mts +1 -1
- package/dist/elements/index.d.ts +1 -1
- package/dist/elements/index.js +155 -163
- package/dist/elements/index.mjs +47 -56
- package/dist/fileDropzone/index.js +10 -9
- package/dist/fileDropzone/index.mjs +9 -8
- package/dist/fileUploader/index.js +2 -2
- package/dist/fileUploader/index.mjs +1 -1
- package/dist/glow/index.js +2 -2
- package/dist/glow/index.mjs +1 -1
- package/dist/hooks/index.d.mts +7 -7
- package/dist/hooks/index.d.ts +7 -7
- package/dist/hooks/index.js +16 -16
- package/dist/hooks/index.mjs +14 -14
- package/dist/index.css +0 -465
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +213 -221
- package/dist/index.mjs +212 -220
- package/dist/input/index.js +8 -8
- package/dist/input/index.mjs +4 -4
- package/dist/interfaceSettings/index.js +9 -9
- package/dist/interfaceSettings/index.mjs +4 -4
- package/dist/label/index.js +5 -5
- package/dist/label/index.mjs +4 -4
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +31 -30
- package/dist/layout/index.mjs +16 -16
- package/dist/loading/index.js +4 -4
- package/dist/loading/index.mjs +2 -2
- package/dist/logos/index.js +2 -2
- package/dist/logos/index.mjs +1 -1
- package/dist/navbar/index.js +5 -5
- package/dist/navbar/index.mjs +4 -4
- package/dist/navigationMenu/index.js +4 -4
- package/dist/navigationMenu/index.mjs +2 -2
- package/dist/pagination/index.js +4 -4
- package/dist/pagination/index.mjs +2 -2
- package/dist/passwordInput/index.js +15 -15
- package/dist/passwordInput/index.mjs +13 -13
- package/dist/phoneInput/index.js +11 -11
- package/dist/phoneInput/index.mjs +10 -10
- package/dist/pinInput/index.js +4 -4
- package/dist/pinInput/index.mjs +2 -2
- package/dist/popover/index.js +4 -4
- package/dist/popover/index.mjs +2 -2
- package/dist/progress/index.js +4 -4
- package/dist/progress/index.mjs +2 -2
- package/dist/progressCircle/index.js +4 -4
- package/dist/progressCircle/index.mjs +2 -2
- package/dist/radio/index.js +7 -7
- package/dist/radio/index.mjs +6 -6
- package/dist/scrollArea/index.js +4 -4
- package/dist/scrollArea/index.mjs +2 -2
- package/dist/scrollIndicator/index.js +2 -2
- package/dist/scrollIndicator/index.mjs +1 -1
- package/dist/select/index.js +8 -8
- package/dist/select/index.mjs +7 -7
- package/dist/separator/index.js +4 -4
- package/dist/separator/index.mjs +2 -2
- package/dist/sheet/index.js +4 -4
- package/dist/sheet/index.mjs +2 -2
- package/dist/sidebar/index.js +6 -6
- package/dist/sidebar/index.mjs +4 -4
- package/dist/signature/index.js +8 -8
- package/dist/signature/index.mjs +6 -6
- package/dist/simpleTable/index.js +6 -6
- package/dist/simpleTable/index.mjs +5 -5
- package/dist/skeleton/index.js +4 -4
- package/dist/skeleton/index.mjs +2 -2
- package/dist/slider/index.js +4 -4
- package/dist/slider/index.mjs +2 -2
- package/dist/sortButton/index.js +8 -7
- package/dist/sortButton/index.mjs +2 -2
- package/dist/splitButton/index.js +9 -8
- package/dist/splitButton/index.mjs +4 -4
- package/dist/stats/index.js +7 -7
- package/dist/stats/index.mjs +6 -6
- package/dist/stopPropagationWrapper/index.js +2 -2
- package/dist/stopPropagationWrapper/index.mjs +1 -1
- package/dist/switch/index.js +4 -4
- package/dist/switch/index.mjs +2 -2
- package/dist/table/index.js +4 -4
- package/dist/table/index.mjs +2 -2
- package/dist/tabs/index.js +5 -5
- package/dist/tabs/index.mjs +4 -4
- package/dist/textarea/index.js +7 -7
- package/dist/textarea/index.mjs +6 -6
- package/dist/toast/index.js +4 -4
- package/dist/toast/index.mjs +2 -2
- package/dist/toaster/index.js +6 -6
- package/dist/toaster/index.mjs +5 -5
- package/dist/tooltip/index.js +4 -4
- package/dist/tooltip/index.mjs +3 -3
- package/dist/types/index.js +1 -1
- package/package.json +16 -42
- package/README.md +0 -107
- package/dist/chunk-S36W2LDN.mjs +0 -189
package/dist/index.mjs
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
//
|
1
|
+
// elements/card/Card.tsx
|
2
2
|
import * as React from "react";
|
3
3
|
|
4
|
-
//
|
4
|
+
// util/index.ts
|
5
5
|
import { clsx } from "clsx";
|
6
6
|
import { twMerge } from "tailwind-merge";
|
7
7
|
function cn(...inputs) {
|
8
8
|
return twMerge(clsx(inputs));
|
9
9
|
}
|
10
10
|
|
11
|
-
//
|
11
|
+
// elements/card/Card.tsx
|
12
12
|
var Card = React.forwardRef(
|
13
13
|
({ className, variant = "default", clickable = false, ...props }, ref) => {
|
14
14
|
let variantStyles = {
|
@@ -88,7 +88,7 @@ CardFooter.displayName = "CardFooter";
|
|
88
88
|
CardTitle.displayName = "CardTitle";
|
89
89
|
Card.displayName = "Card";
|
90
90
|
|
91
|
-
//
|
91
|
+
// elements/loading/Loading.tsx
|
92
92
|
import React2 from "react";
|
93
93
|
var Loading = ({
|
94
94
|
design = "spinner",
|
@@ -265,7 +265,7 @@ var Loading = ({
|
|
265
265
|
}
|
266
266
|
};
|
267
267
|
|
268
|
-
//
|
268
|
+
// elements/tooltip/Tooltip.tsx
|
269
269
|
import React3 from "react";
|
270
270
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
271
271
|
var TooltipContent = React3.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React3.createElement(
|
@@ -316,7 +316,7 @@ var Tooltip = ({
|
|
316
316
|
);
|
317
317
|
};
|
318
318
|
|
319
|
-
//
|
319
|
+
// elements/skeleton/Skeleton.tsx
|
320
320
|
import React4 from "react";
|
321
321
|
function Skeleton({
|
322
322
|
className,
|
@@ -343,7 +343,7 @@ function Skeleton({
|
|
343
343
|
);
|
344
344
|
}
|
345
345
|
|
346
|
-
//
|
346
|
+
// elements/dropdownMenu/DropdownMenu.tsx
|
347
347
|
import * as React5 from "react";
|
348
348
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
349
349
|
var DropdownMenuRoot = DropdownMenuPrimitive.Root;
|
@@ -683,11 +683,11 @@ var DropdownMenuRadio = (props) => {
|
|
683
683
|
)));
|
684
684
|
};
|
685
685
|
|
686
|
-
//
|
686
|
+
// elements/accordion/Accordion.tsx
|
687
687
|
import * as React9 from "react";
|
688
688
|
import * as AccordionPrimitive3 from "@radix-ui/react-accordion";
|
689
689
|
|
690
|
-
//
|
690
|
+
// elements/chip/Chip.tsx
|
691
691
|
import React6 from "react";
|
692
692
|
var Chip = React6.forwardRef(
|
693
693
|
({
|
@@ -768,7 +768,7 @@ var Chip = React6.forwardRef(
|
|
768
768
|
}
|
769
769
|
);
|
770
770
|
|
771
|
-
//
|
771
|
+
// elements/accordion/AccordionContent.tsx
|
772
772
|
import * as React7 from "react";
|
773
773
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
774
774
|
var AccordionContent = React7.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React7.createElement(
|
@@ -785,7 +785,7 @@ var AccordionContent = React7.forwardRef(({ className, children, ...props }, ref
|
|
785
785
|
));
|
786
786
|
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
787
787
|
|
788
|
-
//
|
788
|
+
// elements/accordion/AccordionTrigger.tsx
|
789
789
|
import * as React8 from "react";
|
790
790
|
import * as AccordionPrimitive2 from "@radix-ui/react-accordion";
|
791
791
|
var AccordionTrigger = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React8.createElement(AccordionPrimitive2.Header, { className: "hawa-flex" }, /* @__PURE__ */ React8.createElement(
|
@@ -819,7 +819,7 @@ var AccordionTrigger = React8.forwardRef(({ className, children, ...props }, ref
|
|
819
819
|
)));
|
820
820
|
AccordionTrigger.displayName = AccordionPrimitive2.Trigger.displayName;
|
821
821
|
|
822
|
-
//
|
822
|
+
// elements/accordion/Accordion.tsx
|
823
823
|
var Accordion = React9.forwardRef(
|
824
824
|
({
|
825
825
|
items,
|
@@ -890,17 +890,17 @@ var Accordion = React9.forwardRef(
|
|
890
890
|
);
|
891
891
|
Accordion.displayName = "Accordion";
|
892
892
|
|
893
|
-
//
|
893
|
+
// elements/accordion/AccordionItem.tsx
|
894
894
|
import * as React10 from "react";
|
895
895
|
import * as AccordionPrimitive4 from "@radix-ui/react-accordion";
|
896
896
|
var AccordionItem = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React10.createElement(AccordionPrimitive4.Item, { ref, className: cn(className), ...props }));
|
897
897
|
AccordionItem.displayName = "AccordionItem";
|
898
898
|
|
899
|
-
//
|
899
|
+
// elements/accordion/AccordionRoot.tsx
|
900
900
|
import * as AccordionPrimitive5 from "@radix-ui/react-accordion";
|
901
901
|
var AccordionRoot = AccordionPrimitive5.Root;
|
902
902
|
|
903
|
-
//
|
903
|
+
// elements/logos/Logos.tsx
|
904
904
|
import React11 from "react";
|
905
905
|
var Logos = {
|
906
906
|
hawa: (props) => /* @__PURE__ */ React11.createElement(
|
@@ -1105,7 +1105,7 @@ var Logos = {
|
|
1105
1105
|
)
|
1106
1106
|
};
|
1107
1107
|
|
1108
|
-
//
|
1108
|
+
// elements/navigationMenu/NavigationMenu.tsx
|
1109
1109
|
import * as React12 from "react";
|
1110
1110
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
1111
1111
|
import { cva } from "class-variance-authority";
|
@@ -1258,7 +1258,7 @@ NavigationMenuRoot.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
1258
1258
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
1259
1259
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
1260
1260
|
|
1261
|
-
//
|
1261
|
+
// elements/sheet/Sheet.tsx
|
1262
1262
|
import * as React13 from "react";
|
1263
1263
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
1264
1264
|
import { cva as cva2 } from "class-variance-authority";
|
@@ -1393,7 +1393,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
1393
1393
|
SheetFooter.displayName = "SheetFooter";
|
1394
1394
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
1395
1395
|
|
1396
|
-
//
|
1396
|
+
// elements/dialog/Dialog.tsx
|
1397
1397
|
import * as React14 from "react";
|
1398
1398
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
1399
1399
|
var Dialog = DialogPrimitive.Root;
|
@@ -1689,10 +1689,10 @@ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
1689
1689
|
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
1690
1690
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
1691
1691
|
|
1692
|
-
//
|
1692
|
+
// elements/alert/Alert.tsx
|
1693
1693
|
import React16, { useRef, useState as useState2, useEffect as useEffect2 } from "react";
|
1694
1694
|
|
1695
|
-
//
|
1695
|
+
// elements/button/Button.tsx
|
1696
1696
|
import * as React15 from "react";
|
1697
1697
|
import { cva as cva3 } from "class-variance-authority";
|
1698
1698
|
var buttonVariants = cva3(
|
@@ -1747,6 +1747,7 @@ var Button = React15.forwardRef(
|
|
1747
1747
|
className: cn(
|
1748
1748
|
buttonVariants({ variant, size, className }),
|
1749
1749
|
centered && "hawa-justify-center"
|
1750
|
+
// "hawa-bg-red-500"
|
1750
1751
|
),
|
1751
1752
|
ref,
|
1752
1753
|
...props
|
@@ -1765,7 +1766,7 @@ var Button = React15.forwardRef(
|
|
1765
1766
|
);
|
1766
1767
|
Button.displayName = "Button";
|
1767
1768
|
|
1768
|
-
//
|
1769
|
+
// elements/alert/Alert.tsx
|
1769
1770
|
var Alert = ({
|
1770
1771
|
variant = "normal",
|
1771
1772
|
direction = "ltr",
|
@@ -1905,10 +1906,10 @@ var Alert = ({
|
|
1905
1906
|
));
|
1906
1907
|
};
|
1907
1908
|
|
1908
|
-
//
|
1909
|
+
// elements/avatar/Avatar.tsx
|
1909
1910
|
import React18 from "react";
|
1910
1911
|
|
1911
|
-
//
|
1912
|
+
// elements/fileUploader/FileUploader.tsx
|
1912
1913
|
import React17, { useRef as useRef2 } from "react";
|
1913
1914
|
var FileUploader = ({ handleFile, className }) => {
|
1914
1915
|
const hiddenFileInput = useRef2(null);
|
@@ -1931,7 +1932,7 @@ var FileUploader = ({ handleFile, className }) => {
|
|
1931
1932
|
));
|
1932
1933
|
};
|
1933
1934
|
|
1934
|
-
//
|
1935
|
+
// elements/avatar/Avatar.tsx
|
1935
1936
|
var Avatar = ({
|
1936
1937
|
isUploadable,
|
1937
1938
|
src,
|
@@ -2021,7 +2022,7 @@ var Avatar = ({
|
|
2021
2022
|
);
|
2022
2023
|
};
|
2023
2024
|
|
2024
|
-
//
|
2025
|
+
// elements/dataTable/DataTable.tsx
|
2025
2026
|
import * as React22 from "react";
|
2026
2027
|
import {
|
2027
2028
|
flexRender,
|
@@ -2033,10 +2034,10 @@ import {
|
|
2033
2034
|
useReactTable
|
2034
2035
|
} from "@tanstack/react-table";
|
2035
2036
|
|
2036
|
-
//
|
2037
|
+
// elements/input/Input.tsx
|
2037
2038
|
import React20, { forwardRef as forwardRef12 } from "react";
|
2038
2039
|
|
2039
|
-
//
|
2040
|
+
// elements/label/Label.tsx
|
2040
2041
|
import * as React19 from "react";
|
2041
2042
|
var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React19.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React19.createElement(
|
2042
2043
|
"label",
|
@@ -2079,7 +2080,7 @@ var Label2 = React19.forwardRef(({ className, hint, hintSide, required, children
|
|
2079
2080
|
)));
|
2080
2081
|
Label2.displayName = "Label";
|
2081
2082
|
|
2082
|
-
//
|
2083
|
+
// elements/input/Input.tsx
|
2083
2084
|
var Input = forwardRef12(
|
2084
2085
|
({
|
2085
2086
|
margin = "none",
|
@@ -2200,7 +2201,7 @@ var Input = forwardRef12(
|
|
2200
2201
|
}
|
2201
2202
|
);
|
2202
2203
|
|
2203
|
-
//
|
2204
|
+
// elements/table/Table.tsx
|
2204
2205
|
import * as React21 from "react";
|
2205
2206
|
var Table = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React21.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React21.createElement(
|
2206
2207
|
"table",
|
@@ -2310,7 +2311,7 @@ var TableCaption = React21.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
2310
2311
|
));
|
2311
2312
|
TableCaption.displayName = "TableCaption";
|
2312
2313
|
|
2313
|
-
//
|
2314
|
+
// elements/dataTable/DataTable.tsx
|
2314
2315
|
var DataTable = ({
|
2315
2316
|
columns,
|
2316
2317
|
data,
|
@@ -2635,7 +2636,7 @@ var DataTable = ({
|
|
2635
2636
|
));
|
2636
2637
|
};
|
2637
2638
|
|
2638
|
-
//
|
2639
|
+
// elements/backToTop/BackToTop.tsx
|
2639
2640
|
import React23, { useState as useState4, useEffect as useEffect3, useRef as useRef3 } from "react";
|
2640
2641
|
var BackToTop = ({ ...props }) => {
|
2641
2642
|
const [visible, setVisible] = useState4(false);
|
@@ -2732,7 +2733,7 @@ var BackToTop = ({ ...props }) => {
|
|
2732
2733
|
);
|
2733
2734
|
};
|
2734
2735
|
|
2735
|
-
//
|
2736
|
+
// elements/radio/Radio.tsx
|
2736
2737
|
import React24, { useState as useState5, useRef as useRef4, useEffect as useEffect4 } from "react";
|
2737
2738
|
var Radio = ({
|
2738
2739
|
design = "default",
|
@@ -2919,14 +2920,74 @@ var Radio = ({
|
|
2919
2920
|
}
|
2920
2921
|
};
|
2921
2922
|
|
2922
|
-
//
|
2923
|
+
// elements/combobox/Combobox.tsx
|
2923
2924
|
import * as React27 from "react";
|
2924
2925
|
import * as PopoverPrimitive2 from "@radix-ui/react-popover";
|
2925
2926
|
|
2926
|
-
//
|
2927
|
+
// elements/popover/Popover.tsx
|
2927
2928
|
import * as React25 from "react";
|
2929
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
2930
|
+
var PopoverContent = React25.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React25.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React25.createElement(
|
2931
|
+
PopoverPrimitive.Content,
|
2932
|
+
{
|
2933
|
+
ref,
|
2934
|
+
align,
|
2935
|
+
sideOffset,
|
2936
|
+
className: cn(
|
2937
|
+
"dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
2938
|
+
className
|
2939
|
+
),
|
2940
|
+
...props
|
2941
|
+
}
|
2942
|
+
)));
|
2943
|
+
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
2944
|
+
var Popover = ({
|
2945
|
+
trigger,
|
2946
|
+
children,
|
2947
|
+
className,
|
2948
|
+
align = "center",
|
2949
|
+
side,
|
2950
|
+
sideOffset = 4,
|
2951
|
+
open,
|
2952
|
+
width = "default",
|
2953
|
+
disableTrigger,
|
2954
|
+
contentProps,
|
2955
|
+
triggerProps,
|
2956
|
+
...props
|
2957
|
+
}) => {
|
2958
|
+
let widthStyles = {
|
2959
|
+
trigger: "var(--radix-popover-trigger-width)",
|
2960
|
+
default: "auto"
|
2961
|
+
};
|
2962
|
+
return /* @__PURE__ */ React25.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React25.createElement(
|
2963
|
+
PopoverPrimitive.Trigger,
|
2964
|
+
{
|
2965
|
+
className: "hawa-w-full",
|
2966
|
+
disabled: disableTrigger,
|
2967
|
+
...triggerProps
|
2968
|
+
},
|
2969
|
+
trigger
|
2970
|
+
), /* @__PURE__ */ React25.createElement(
|
2971
|
+
PopoverContent,
|
2972
|
+
{
|
2973
|
+
side,
|
2974
|
+
className,
|
2975
|
+
align,
|
2976
|
+
sideOffset,
|
2977
|
+
style: {
|
2978
|
+
width: widthStyles[width]
|
2979
|
+
},
|
2980
|
+
...contentProps
|
2981
|
+
},
|
2982
|
+
children
|
2983
|
+
));
|
2984
|
+
};
|
2985
|
+
var PopoverTrigger = PopoverPrimitive.Trigger;
|
2986
|
+
|
2987
|
+
// elements/command/Command.tsx
|
2988
|
+
import * as React26 from "react";
|
2928
2989
|
import { Command as CommandPrimitive } from "cmdk";
|
2929
|
-
var Command =
|
2990
|
+
var Command = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
|
2930
2991
|
CommandPrimitive,
|
2931
2992
|
{
|
2932
2993
|
ref,
|
@@ -2939,15 +3000,15 @@ var Command = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
2939
3000
|
));
|
2940
3001
|
Command.displayName = CommandPrimitive.displayName;
|
2941
3002
|
var CommandDialog = ({ children, ...props }) => {
|
2942
|
-
return /* @__PURE__ */
|
3003
|
+
return /* @__PURE__ */ React26.createElement(Dialog, { ...props }, /* @__PURE__ */ React26.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React26.createElement(Command, { className: "[&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:hawa-pt-0 [&_[cmdk-group]]:hawa-px-2 [&_[cmdk-input-wrapper]_svg]:hawa-h-5 [&_[cmdk-input-wrapper]_svg]:hawa-w-5 [&_[cmdk-input]]:hawa-h-12 [&_[cmdk-item]]:hawa-px-2 [&_[cmdk-item]]:hawa-py-3 [&_[cmdk-item]_svg]:hawa-h-5 [&_[cmdk-item]_svg]:hawa-w-5" }, children)));
|
2943
3004
|
};
|
2944
|
-
var CommandInput =
|
3005
|
+
var CommandInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
|
2945
3006
|
"div",
|
2946
3007
|
{
|
2947
3008
|
className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
|
2948
3009
|
"cmdk-input-wrapper": ""
|
2949
3010
|
},
|
2950
|
-
/* @__PURE__ */
|
3011
|
+
/* @__PURE__ */ React26.createElement(
|
2951
3012
|
"svg",
|
2952
3013
|
{
|
2953
3014
|
"aria-label": "Search Icon",
|
@@ -2962,10 +3023,10 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
2962
3023
|
strokeLinejoin: "round",
|
2963
3024
|
className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
|
2964
3025
|
},
|
2965
|
-
/* @__PURE__ */
|
2966
|
-
/* @__PURE__ */
|
3026
|
+
/* @__PURE__ */ React26.createElement("circle", { cx: "11", cy: "11", r: "8" }),
|
3027
|
+
/* @__PURE__ */ React26.createElement("path", { d: "m21 21-4.3-4.3" })
|
2967
3028
|
),
|
2968
|
-
/* @__PURE__ */
|
3029
|
+
/* @__PURE__ */ React26.createElement(
|
2969
3030
|
CommandPrimitive.Input,
|
2970
3031
|
{
|
2971
3032
|
ref,
|
@@ -2978,7 +3039,7 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
2978
3039
|
)
|
2979
3040
|
));
|
2980
3041
|
CommandInput.displayName = CommandPrimitive.Input.displayName;
|
2981
|
-
var CommandList =
|
3042
|
+
var CommandList = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
|
2982
3043
|
CommandPrimitive.List,
|
2983
3044
|
{
|
2984
3045
|
ref,
|
@@ -2990,7 +3051,7 @@ var CommandList = React25.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
2990
3051
|
}
|
2991
3052
|
));
|
2992
3053
|
CommandList.displayName = CommandPrimitive.List.displayName;
|
2993
|
-
var CommandEmpty =
|
3054
|
+
var CommandEmpty = React26.forwardRef((props, ref) => /* @__PURE__ */ React26.createElement(
|
2994
3055
|
CommandPrimitive.Empty,
|
2995
3056
|
{
|
2996
3057
|
ref,
|
@@ -2999,7 +3060,7 @@ var CommandEmpty = React25.forwardRef((props, ref) => /* @__PURE__ */ React25.cr
|
|
2999
3060
|
}
|
3000
3061
|
));
|
3001
3062
|
CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
|
3002
|
-
var CommandGroup =
|
3063
|
+
var CommandGroup = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
|
3003
3064
|
CommandPrimitive.Group,
|
3004
3065
|
{
|
3005
3066
|
ref,
|
@@ -3011,7 +3072,7 @@ var CommandGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
3011
3072
|
}
|
3012
3073
|
));
|
3013
3074
|
CommandGroup.displayName = CommandPrimitive.Group.displayName;
|
3014
|
-
var CommandSeparator =
|
3075
|
+
var CommandSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
|
3015
3076
|
CommandPrimitive.Separator,
|
3016
3077
|
{
|
3017
3078
|
ref,
|
@@ -3020,7 +3081,7 @@ var CommandSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @
|
|
3020
3081
|
}
|
3021
3082
|
));
|
3022
3083
|
CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
|
3023
|
-
var CommandItem =
|
3084
|
+
var CommandItem = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React26.createElement(
|
3024
3085
|
CommandPrimitive.Item,
|
3025
3086
|
{
|
3026
3087
|
ref,
|
@@ -3036,7 +3097,7 @@ var CommandShortcut = ({
|
|
3036
3097
|
className,
|
3037
3098
|
...props
|
3038
3099
|
}) => {
|
3039
|
-
return /* @__PURE__ */
|
3100
|
+
return /* @__PURE__ */ React26.createElement(
|
3040
3101
|
"span",
|
3041
3102
|
{
|
3042
3103
|
className: cn(
|
@@ -3049,67 +3110,7 @@ var CommandShortcut = ({
|
|
3049
3110
|
};
|
3050
3111
|
CommandShortcut.displayName = "CommandShortcut";
|
3051
3112
|
|
3052
|
-
//
|
3053
|
-
import * as React26 from "react";
|
3054
|
-
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
3055
|
-
var PopoverContent = React26.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React26.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React26.createElement(
|
3056
|
-
PopoverPrimitive.Content,
|
3057
|
-
{
|
3058
|
-
ref,
|
3059
|
-
align,
|
3060
|
-
sideOffset,
|
3061
|
-
className: cn(
|
3062
|
-
"dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
3063
|
-
className
|
3064
|
-
),
|
3065
|
-
...props
|
3066
|
-
}
|
3067
|
-
)));
|
3068
|
-
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
3069
|
-
var Popover = ({
|
3070
|
-
trigger,
|
3071
|
-
children,
|
3072
|
-
className,
|
3073
|
-
align = "center",
|
3074
|
-
side,
|
3075
|
-
sideOffset = 4,
|
3076
|
-
open,
|
3077
|
-
width = "default",
|
3078
|
-
disableTrigger,
|
3079
|
-
contentProps,
|
3080
|
-
triggerProps,
|
3081
|
-
...props
|
3082
|
-
}) => {
|
3083
|
-
let widthStyles = {
|
3084
|
-
trigger: "var(--radix-popover-trigger-width)",
|
3085
|
-
default: "auto"
|
3086
|
-
};
|
3087
|
-
return /* @__PURE__ */ React26.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React26.createElement(
|
3088
|
-
PopoverPrimitive.Trigger,
|
3089
|
-
{
|
3090
|
-
className: "hawa-w-full",
|
3091
|
-
disabled: disableTrigger,
|
3092
|
-
...triggerProps
|
3093
|
-
},
|
3094
|
-
trigger
|
3095
|
-
), /* @__PURE__ */ React26.createElement(
|
3096
|
-
PopoverContent,
|
3097
|
-
{
|
3098
|
-
side,
|
3099
|
-
className,
|
3100
|
-
align,
|
3101
|
-
sideOffset,
|
3102
|
-
style: {
|
3103
|
-
width: widthStyles[width]
|
3104
|
-
},
|
3105
|
-
...contentProps
|
3106
|
-
},
|
3107
|
-
children
|
3108
|
-
));
|
3109
|
-
};
|
3110
|
-
var PopoverTrigger = PopoverPrimitive.Trigger;
|
3111
|
-
|
3112
|
-
// components/elements/combobox/Combobox.tsx
|
3113
|
+
// elements/combobox/Combobox.tsx
|
3113
3114
|
var Combobox = React27.forwardRef(
|
3114
3115
|
({
|
3115
3116
|
labelKey = "label",
|
@@ -3247,7 +3248,7 @@ var Combobox = React27.forwardRef(
|
|
3247
3248
|
}
|
3248
3249
|
);
|
3249
3250
|
|
3250
|
-
//
|
3251
|
+
// elements/textarea/Textarea.tsx
|
3251
3252
|
import * as React28 from "react";
|
3252
3253
|
var Textarea = React28.forwardRef(
|
3253
3254
|
({
|
@@ -3309,7 +3310,7 @@ var Textarea = React28.forwardRef(
|
|
3309
3310
|
);
|
3310
3311
|
Textarea.displayName = "Textarea";
|
3311
3312
|
|
3312
|
-
//
|
3313
|
+
// elements/fileDropzone/FileDropzone.tsx
|
3313
3314
|
import React29, { useEffect as useEffect5, useState as useState7 } from "react";
|
3314
3315
|
import { useDropzone } from "react-dropzone";
|
3315
3316
|
import clsx2 from "clsx";
|
@@ -3530,7 +3531,7 @@ var FileDropzone = ({
|
|
3530
3531
|
)));
|
3531
3532
|
};
|
3532
3533
|
|
3533
|
-
//
|
3534
|
+
// elements/sortButton/SortButton.tsx
|
3534
3535
|
import React30 from "react";
|
3535
3536
|
var SortButton = (props) => {
|
3536
3537
|
return /* @__PURE__ */ React30.createElement(
|
@@ -3565,7 +3566,7 @@ var SortButton = (props) => {
|
|
3565
3566
|
);
|
3566
3567
|
};
|
3567
3568
|
|
3568
|
-
//
|
3569
|
+
// elements/tabs/Tabs.tsx
|
3569
3570
|
import * as React31 from "react";
|
3570
3571
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
3571
3572
|
var TabsContext = React31.createContext({ orientation: "vertical" });
|
@@ -3628,7 +3629,7 @@ var TabsContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
3628
3629
|
));
|
3629
3630
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
3630
3631
|
|
3631
|
-
//
|
3632
|
+
// elements/select/Select.tsx
|
3632
3633
|
import React32 from "react";
|
3633
3634
|
import ReactSelect from "react-select";
|
3634
3635
|
import CreatableSelect from "react-select/creatable";
|
@@ -3782,7 +3783,7 @@ var Select = ({
|
|
3782
3783
|
);
|
3783
3784
|
};
|
3784
3785
|
|
3785
|
-
//
|
3786
|
+
// elements/switch/Switch.tsx
|
3786
3787
|
import * as React33 from "react";
|
3787
3788
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
3788
3789
|
var Switch = React33.forwardRef(
|
@@ -3859,7 +3860,7 @@ var Switch = React33.forwardRef(
|
|
3859
3860
|
);
|
3860
3861
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
3861
3862
|
|
3862
|
-
//
|
3863
|
+
// elements/checkbox/Checkbox.tsx
|
3863
3864
|
import * as React34 from "react";
|
3864
3865
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
3865
3866
|
var Checkbox = ({
|
@@ -3995,7 +3996,7 @@ var CheckboxElement = React34.forwardRef(({ radius = "inherit", size = "default"
|
|
3995
3996
|
});
|
3996
3997
|
CheckboxElement.displayName = CheckboxPrimitive.Root.displayName;
|
3997
3998
|
|
3998
|
-
//
|
3999
|
+
// elements/progress/Progress.tsx
|
3999
4000
|
import * as React35 from "react";
|
4000
4001
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
4001
4002
|
var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React35.createElement(
|
@@ -4018,7 +4019,7 @@ var Progress = React35.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
4018
4019
|
));
|
4019
4020
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
4020
4021
|
|
4021
|
-
//
|
4022
|
+
// elements/breadcrumb/Breadcrumb.tsx
|
4022
4023
|
import React36 from "react";
|
4023
4024
|
var Breadcrumb = ({
|
4024
4025
|
breadcrumbLinks,
|
@@ -4042,7 +4043,7 @@ var Breadcrumb = ({
|
|
4042
4043
|
)));
|
4043
4044
|
};
|
4044
4045
|
|
4045
|
-
//
|
4046
|
+
// elements/appStores/AppStores.tsx
|
4046
4047
|
import React37 from "react";
|
4047
4048
|
var AppStores = (props) => {
|
4048
4049
|
return /* @__PURE__ */ React37.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ React37.createElement("div", null, props.store === "apple" ? /* @__PURE__ */ React37.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ React37.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React37.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React37.createElement(
|
@@ -4078,7 +4079,7 @@ var AppStores = (props) => {
|
|
4078
4079
|
))), /* @__PURE__ */ React37.createElement("div", null, /* @__PURE__ */ React37.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React37.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-xl hawa-font-semibold" }, "Google Play")))));
|
4079
4080
|
};
|
4080
4081
|
|
4081
|
-
//
|
4082
|
+
// elements/badge/Badge.tsx
|
4082
4083
|
import React38, { useEffect as useEffect7, useState as useState9, useRef as useRef6 } from "react";
|
4083
4084
|
var Badge = ({
|
4084
4085
|
anchor,
|
@@ -4155,10 +4156,10 @@ var BadgedComponent = ({
|
|
4155
4156
|
), children);
|
4156
4157
|
};
|
4157
4158
|
|
4158
|
-
//
|
4159
|
+
// elements/phoneInput/PhoneInput.tsx
|
4159
4160
|
import React39, { useState as useState10, useRef as useRef7, useEffect as useEffect8 } from "react";
|
4160
4161
|
|
4161
|
-
//
|
4162
|
+
// countries.ts
|
4162
4163
|
var countries = [
|
4163
4164
|
{
|
4164
4165
|
country_label: "Saudi Arabia",
|
@@ -5851,7 +5852,7 @@ var countries = [
|
|
5851
5852
|
];
|
5852
5853
|
var countries_default = countries;
|
5853
5854
|
|
5854
|
-
//
|
5855
|
+
// elements/phoneInput/PhoneInput.tsx
|
5855
5856
|
var PhoneInput = ({ labelProps, ...props }) => {
|
5856
5857
|
const [phoneNumber, setPhoneNumber] = useState10("");
|
5857
5858
|
const [countryCode, setCountryCode] = useState10(props.preferredCountry);
|
@@ -5915,7 +5916,7 @@ var PhoneInput = ({ labelProps, ...props }) => {
|
|
5915
5916
|
));
|
5916
5917
|
};
|
5917
5918
|
|
5918
|
-
//
|
5919
|
+
// elements/pinInput/PinInput.tsx
|
5919
5920
|
import React40, { useEffect as useEffect9, useState as useState11 } from "react";
|
5920
5921
|
var PinInput = ({
|
5921
5922
|
label,
|
@@ -5998,7 +5999,7 @@ var PinInput = ({
|
|
5998
5999
|
));
|
5999
6000
|
};
|
6000
6001
|
|
6001
|
-
//
|
6002
|
+
// elements/stopPropagationWrapper/StopPropagationWrapper.tsx
|
6002
6003
|
import React41 from "react";
|
6003
6004
|
var StopPropagationWrapper = (props) => {
|
6004
6005
|
const handleClick = (e) => {
|
@@ -6007,7 +6008,7 @@ var StopPropagationWrapper = (props) => {
|
|
6007
6008
|
return /* @__PURE__ */ React41.createElement("div", { onClick: handleClick }, props.children);
|
6008
6009
|
};
|
6009
6010
|
|
6010
|
-
//
|
6011
|
+
// elements/scrollArea/ScrollArea.tsx
|
6011
6012
|
import * as React42 from "react";
|
6012
6013
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
6013
6014
|
var ScrollArea = React42.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React42.createElement(
|
@@ -6047,7 +6048,7 @@ var ScrollBar = React42.forwardRef(({ className, orientation = "vertical", ...pr
|
|
6047
6048
|
));
|
6048
6049
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
6049
6050
|
|
6050
|
-
//
|
6051
|
+
// elements/colorPicker/ColorPicker.tsx
|
6051
6052
|
import React43, {
|
6052
6053
|
useState as useState12,
|
6053
6054
|
useEffect as useEffect10
|
@@ -6125,7 +6126,7 @@ var ColorPicker = ({
|
|
6125
6126
|
));
|
6126
6127
|
};
|
6127
6128
|
|
6128
|
-
//
|
6129
|
+
// elements/progressCircle/ProgressCircle.tsx
|
6129
6130
|
import React44 from "react";
|
6130
6131
|
var size2config = {
|
6131
6132
|
xs: {
|
@@ -6236,7 +6237,7 @@ var ProgressCircle = React44.forwardRef((props, ref) => {
|
|
6236
6237
|
});
|
6237
6238
|
ProgressCircle.displayName = "ProgressCircle";
|
6238
6239
|
|
6239
|
-
//
|
6240
|
+
// elements/pagination/Pagination.tsx
|
6240
6241
|
import React45 from "react";
|
6241
6242
|
import { Pagination as PaginationPrimitive } from "react-headless-pagination";
|
6242
6243
|
var Pagination = ({
|
@@ -6348,10 +6349,10 @@ var Pagination = ({
|
|
6348
6349
|
);
|
6349
6350
|
};
|
6350
6351
|
|
6351
|
-
//
|
6352
|
+
// elements/passwordInput/PasswordInput.tsx
|
6352
6353
|
import React49, { useEffect as useEffect11, useState as useState13 } from "react";
|
6353
6354
|
|
6354
|
-
//
|
6355
|
+
// icons/Emojis.tsx
|
6355
6356
|
import React46 from "react";
|
6356
6357
|
var VeryGoodEmoji = () => /* @__PURE__ */ React46.createElement(
|
6357
6358
|
"svg",
|
@@ -6444,7 +6445,7 @@ var VeryBadEmoji = () => /* @__PURE__ */ React46.createElement(
|
|
6444
6445
|
))
|
6445
6446
|
);
|
6446
6447
|
|
6447
|
-
//
|
6448
|
+
// icons/InputIcons.tsx
|
6448
6449
|
import React47 from "react";
|
6449
6450
|
var EyeIcon = (props) => /* @__PURE__ */ React47.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ React47.createElement(
|
6450
6451
|
"svg",
|
@@ -6477,7 +6478,7 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ React47.createElement("div", { cl
|
|
6477
6478
|
/* @__PURE__ */ React47.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
|
6478
6479
|
));
|
6479
6480
|
|
6480
|
-
//
|
6481
|
+
// icons/CommonIcons.tsx
|
6481
6482
|
import React48 from "react";
|
6482
6483
|
var CheckMark = ({ size = "default", className }) => {
|
6483
6484
|
let sizeStyles2 = {
|
@@ -6526,7 +6527,7 @@ var UncheckMark = ({ size = "default", className }) => {
|
|
6526
6527
|
);
|
6527
6528
|
};
|
6528
6529
|
|
6529
|
-
//
|
6530
|
+
// elements/passwordInput/PasswordInput.tsx
|
6530
6531
|
var PasswordStrengthIndicator = ({ strength }) => {
|
6531
6532
|
const strengthLevels = [
|
6532
6533
|
"none",
|
@@ -6659,7 +6660,7 @@ var PasswordInput = ({
|
|
6659
6660
|
), /* @__PURE__ */ React49.createElement(PasswordStrengthIndicator, { strength: currentStr }));
|
6660
6661
|
};
|
6661
6662
|
|
6662
|
-
//
|
6663
|
+
// elements/slider/Slider.tsx
|
6663
6664
|
import * as React50 from "react";
|
6664
6665
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
6665
6666
|
var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React50.createElement(
|
@@ -6677,7 +6678,7 @@ var Slider = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
6677
6678
|
));
|
6678
6679
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
6679
6680
|
|
6680
|
-
//
|
6681
|
+
// elements/simpleTable/SimpleTable.tsx
|
6681
6682
|
import * as React51 from "react";
|
6682
6683
|
import {
|
6683
6684
|
flexRender as flexRender2,
|
@@ -6749,7 +6750,7 @@ var SimpleTable = ({
|
|
6749
6750
|
);
|
6750
6751
|
};
|
6751
6752
|
|
6752
|
-
//
|
6753
|
+
// elements/separator/Separator.tsx
|
6753
6754
|
import * as React52 from "react";
|
6754
6755
|
var Separator2 = ({
|
6755
6756
|
className,
|
@@ -6767,7 +6768,7 @@ var Separator2 = ({
|
|
6767
6768
|
}
|
6768
6769
|
);
|
6769
6770
|
|
6770
|
-
//
|
6771
|
+
// elements/scrollIndicator/ScrollIndicator.tsx
|
6771
6772
|
import React53, { useState as useState14, useEffect as useEffect12 } from "react";
|
6772
6773
|
var ScrollIndicator = ({
|
6773
6774
|
anchor,
|
@@ -6808,11 +6809,11 @@ var ScrollIndicator = ({
|
|
6808
6809
|
);
|
6809
6810
|
};
|
6810
6811
|
|
6811
|
-
//
|
6812
|
+
// elements/codeBlock/CodeBlock.tsx
|
6812
6813
|
import React54, { useState as useState16 } from "react";
|
6813
6814
|
import { Highlight, themes } from "prism-react-renderer";
|
6814
6815
|
|
6815
|
-
//
|
6816
|
+
// hooks/useClipboard.ts
|
6816
6817
|
import { useState as useState15 } from "react";
|
6817
6818
|
function useClipboard({ timeout = 2e3 } = {}) {
|
6818
6819
|
const [error, setError] = useState15(null);
|
@@ -6838,7 +6839,7 @@ function useClipboard({ timeout = 2e3 } = {}) {
|
|
6838
6839
|
return { copy, reset, error, copied };
|
6839
6840
|
}
|
6840
6841
|
|
6841
|
-
//
|
6842
|
+
// elements/codeBlock/CodeBlock.tsx
|
6842
6843
|
var CodeBlock = ({
|
6843
6844
|
tabs,
|
6844
6845
|
code,
|
@@ -6971,7 +6972,7 @@ var CodeBlock = ({
|
|
6971
6972
|
);
|
6972
6973
|
};
|
6973
6974
|
|
6974
|
-
//
|
6975
|
+
// elements/carousel/Carousel.tsx
|
6975
6976
|
import React55, { useEffect as useEffect14, useState as useState17 } from "react";
|
6976
6977
|
import useEmblaCarousel from "embla-carousel-react";
|
6977
6978
|
var Carousel = ({
|
@@ -6982,10 +6983,9 @@ var Carousel = ({
|
|
6982
6983
|
autoplayInterval = 3e3,
|
6983
6984
|
...props
|
6984
6985
|
}) => {
|
6985
|
-
const { loop } = options;
|
6986
6986
|
const [emblaRef, emblaApi] = useEmblaCarousel({
|
6987
6987
|
...options,
|
6988
|
-
loop: autoplay ? true : loop || false
|
6988
|
+
loop: autoplay ? true : (options == null ? void 0 : options.loop) || false
|
6989
6989
|
});
|
6990
6990
|
const [selectedIndex, setSelectedIndex] = useState17(0);
|
6991
6991
|
useEffect14(() => {
|
@@ -7044,12 +7044,12 @@ var Dots = ({ onDotClick, itemsLength, selectedIndex }) => {
|
|
7044
7044
|
return /* @__PURE__ */ React55.createElement(
|
7045
7045
|
"div",
|
7046
7046
|
{
|
7047
|
+
key: index,
|
7047
7048
|
onClick: () => onDotClick(index),
|
7048
7049
|
className: cn(
|
7049
7050
|
"hawa-h-2 hawa-rounded-full hawa-bg-primary hawa-transition-all hawa-duration-300 hover:hawa-cursor-pointer",
|
7050
7051
|
!selected ? "hawa-w-2 hawa-opacity-50" : "hawa-w-6 hawa-opacity-100"
|
7051
|
-
)
|
7052
|
-
key: index
|
7052
|
+
)
|
7053
7053
|
}
|
7054
7054
|
);
|
7055
7055
|
}));
|
@@ -7058,11 +7058,7 @@ var CarouselControls = (props) => {
|
|
7058
7058
|
return /* @__PURE__ */ React55.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ React55.createElement(
|
7059
7059
|
"button",
|
7060
7060
|
{
|
7061
|
-
onClick: () =>
|
7062
|
-
if (props.canScrollPrev) {
|
7063
|
-
props.onPrev();
|
7064
|
-
}
|
7065
|
-
},
|
7061
|
+
onClick: () => props.canScrollPrev && props.onPrev(),
|
7066
7062
|
disabled: !props.canScrollPrev,
|
7067
7063
|
className: cn(
|
7068
7064
|
"hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white ",
|
@@ -7084,11 +7080,7 @@ var CarouselControls = (props) => {
|
|
7084
7080
|
), /* @__PURE__ */ React55.createElement(
|
7085
7081
|
"button",
|
7086
7082
|
{
|
7087
|
-
onClick: () =>
|
7088
|
-
if (props.canScrollNext) {
|
7089
|
-
props.onNext();
|
7090
|
-
}
|
7091
|
-
},
|
7083
|
+
onClick: () => props.canScrollNext && props.onNext(),
|
7092
7084
|
disabled: !props.canScrollNext,
|
7093
7085
|
className: cn(
|
7094
7086
|
"hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white ",
|
@@ -7110,13 +7102,13 @@ var CarouselControls = (props) => {
|
|
7110
7102
|
));
|
7111
7103
|
};
|
7112
7104
|
|
7113
|
-
//
|
7105
|
+
// elements/count/Count.tsx
|
7114
7106
|
import React56 from "react";
|
7115
7107
|
var Count = (props) => {
|
7116
7108
|
return /* @__PURE__ */ React56.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ React56.createElement("div", null, props.icon), /* @__PURE__ */ React56.createElement("div", { className: "hawa-text-sm" }, props.count));
|
7117
7109
|
};
|
7118
7110
|
|
7119
|
-
//
|
7111
|
+
// elements/toast/Toast.tsx
|
7120
7112
|
import * as React57 from "react";
|
7121
7113
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
7122
7114
|
import { cva as cva4 } from "class-variance-authority";
|
@@ -7253,10 +7245,10 @@ var ToastDescription = React57.forwardRef(({ className, size = "default", ...pro
|
|
7253
7245
|
));
|
7254
7246
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
7255
7247
|
|
7256
|
-
//
|
7248
|
+
// elements/toaster/Toaster.tsx
|
7257
7249
|
import React59 from "react";
|
7258
7250
|
|
7259
|
-
//
|
7251
|
+
// hooks/useToast.ts
|
7260
7252
|
import * as React58 from "react";
|
7261
7253
|
var TOAST_LIMIT = 5;
|
7262
7254
|
var TOAST_REMOVE_DELAY = 1e5;
|
@@ -7370,7 +7362,7 @@ function useToast() {
|
|
7370
7362
|
};
|
7371
7363
|
}
|
7372
7364
|
|
7373
|
-
//
|
7365
|
+
// elements/toaster/Toaster.tsx
|
7374
7366
|
function Toaster(props) {
|
7375
7367
|
const { toasts } = useToast();
|
7376
7368
|
let isRTL = props.direction === "rtl";
|
@@ -7412,7 +7404,7 @@ function Toaster(props) {
|
|
7412
7404
|
));
|
7413
7405
|
}
|
7414
7406
|
|
7415
|
-
//
|
7407
|
+
// elements/destroyableCard/DestroyableCard.tsx
|
7416
7408
|
import React60, { useRef as useRef8, useState as useState19 } from "react";
|
7417
7409
|
var DestroyableCard = ({
|
7418
7410
|
position = "bottom-right",
|
@@ -7486,7 +7478,7 @@ var DestroyableCard = ({
|
|
7486
7478
|
);
|
7487
7479
|
};
|
7488
7480
|
|
7489
|
-
//
|
7481
|
+
// elements/interfaceSettings/InterfaceSettings.tsx
|
7490
7482
|
import React61, { useState as useState20 } from "react";
|
7491
7483
|
var InterfaceSettings = ({
|
7492
7484
|
orientation = "horizontal",
|
@@ -7573,7 +7565,7 @@ var InterfaceSettings = ({
|
|
7573
7565
|
));
|
7574
7566
|
};
|
7575
7567
|
|
7576
|
-
//
|
7568
|
+
// layout/stats/Stats.tsx
|
7577
7569
|
import React62 from "react";
|
7578
7570
|
var Stats = ({
|
7579
7571
|
label,
|
@@ -7606,7 +7598,7 @@ var Stats = ({
|
|
7606
7598
|
), chart && (isLoading ? /* @__PURE__ */ React62.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : chart)));
|
7607
7599
|
};
|
7608
7600
|
|
7609
|
-
//
|
7601
|
+
// layout/sidebar/Sidebar.tsx
|
7610
7602
|
import * as React63 from "react";
|
7611
7603
|
import * as AccordionPrimitive6 from "@radix-ui/react-accordion";
|
7612
7604
|
var Accordion2 = AccordionPrimitive6.Root;
|
@@ -7814,22 +7806,22 @@ var SidebarItem = ({
|
|
7814
7806
|
}
|
7815
7807
|
};
|
7816
7808
|
|
7817
|
-
//
|
7809
|
+
// layout/copyrights/Copyrights.tsx
|
7818
7810
|
import React64 from "react";
|
7819
7811
|
var Copyrights = (props) => {
|
7820
7812
|
return /* @__PURE__ */ React64.createElement("div", { className: "hawa-my-2 hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-1 hawa-text-xs hawa-text-gray-400" }, props.withLogo ? /* @__PURE__ */ React64.createElement("a", { href: props.onLogoClicked }, /* @__PURE__ */ React64.createElement("div", { className: "hawa-cursor-pointer" }, /* @__PURE__ */ React64.createElement("image", { href: props.logoURL, width: 100, height: 50 }))) : null, /* @__PURE__ */ React64.createElement("div", null, props.version), props.credits ? props.credits : null);
|
7821
7813
|
};
|
7822
7814
|
|
7823
|
-
//
|
7815
|
+
// layout/navbar/Navbar.tsx
|
7824
7816
|
import React65, { useState as useState21 } from "react";
|
7825
7817
|
|
7826
|
-
//
|
7818
|
+
// elements/collapsible/Collapsible.tsx
|
7827
7819
|
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
7828
7820
|
var Collapsible = CollapsiblePrimitive.Root;
|
7829
7821
|
var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
|
7830
7822
|
var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
|
7831
7823
|
|
7832
|
-
//
|
7824
|
+
// layout/navbar/Navbar.tsx
|
7833
7825
|
var Navbar = ({
|
7834
7826
|
backgroundColor,
|
7835
7827
|
logo,
|
@@ -7940,7 +7932,7 @@ var Navbar = ({
|
|
7940
7932
|
));
|
7941
7933
|
};
|
7942
7934
|
|
7943
|
-
//
|
7935
|
+
// layout/appLayout/AppLayout.tsx
|
7944
7936
|
import React66, { useEffect as useEffect16, useRef as useRef9, useState as useState22 } from "react";
|
7945
7937
|
var AppLayout = ({
|
7946
7938
|
profileMenuWidth = "default",
|
@@ -8295,7 +8287,7 @@ var MenuIcon = () => /* @__PURE__ */ React66.createElement(
|
|
8295
8287
|
)
|
8296
8288
|
);
|
8297
8289
|
|
8298
|
-
//
|
8290
|
+
// layout/appTopbar/AppTopbar.tsx
|
8299
8291
|
import React67 from "react";
|
8300
8292
|
var AppTopbar = ({ ...props }) => {
|
8301
8293
|
const isRTL = props.direction === "ltr";
|
@@ -8400,7 +8392,7 @@ var AppTopbar = ({ ...props }) => {
|
|
8400
8392
|
);
|
8401
8393
|
};
|
8402
8394
|
|
8403
|
-
//
|
8395
|
+
// layout/appMenubar/AppMenubar.tsx
|
8404
8396
|
import * as React68 from "react";
|
8405
8397
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
8406
8398
|
var MenubarMenu = MenubarPrimitive.Menu;
|
@@ -8603,7 +8595,7 @@ var MenubarShortcut = ({
|
|
8603
8595
|
};
|
8604
8596
|
MenubarShortcut.displayname = "MenubarShortcut";
|
8605
8597
|
|
8606
|
-
//
|
8598
|
+
// layout/appTabs/AppTabs.tsx
|
8607
8599
|
import React69, { useState as useState23 } from "react";
|
8608
8600
|
var AppTabs = ({ tabs, className }) => {
|
8609
8601
|
const [selectedIndex, setSelectedIndex] = useState23(0);
|
@@ -8647,10 +8639,10 @@ var AppTabs = ({ tabs, className }) => {
|
|
8647
8639
|
);
|
8648
8640
|
};
|
8649
8641
|
|
8650
|
-
//
|
8642
|
+
// layout/docsLayout/DocsLayout.tsx
|
8651
8643
|
import React72, { useEffect as useEffect18, useRef as useRef10, useState as useState25 } from "react";
|
8652
8644
|
|
8653
|
-
//
|
8645
|
+
// hooks/useBreakpoint.ts
|
8654
8646
|
import { useState as useState24, useEffect as useEffect17 } from "react";
|
8655
8647
|
var useBreakpoint = () => {
|
8656
8648
|
const [breakpoint, setBreakpoint] = useState24(null);
|
@@ -8669,7 +8661,7 @@ var useBreakpoint = () => {
|
|
8669
8661
|
return breakpoint;
|
8670
8662
|
};
|
8671
8663
|
|
8672
|
-
//
|
8664
|
+
// layout/docsSidebar/DocsSidebar.tsx
|
8673
8665
|
import React71 from "react";
|
8674
8666
|
var DocsSidebar = ({
|
8675
8667
|
currentPage: propCurrentPage,
|
@@ -8732,7 +8724,7 @@ var DocsSidebar = ({
|
|
8732
8724
|
);
|
8733
8725
|
};
|
8734
8726
|
|
8735
|
-
//
|
8727
|
+
// layout/docsLayout/DocsLayout.tsx
|
8736
8728
|
var DocsLayout = ({
|
8737
8729
|
direction = "ltr",
|
8738
8730
|
drawerSize = "md",
|
@@ -8936,14 +8928,14 @@ var DocsLayout = ({
|
|
8936
8928
|
));
|
8937
8929
|
};
|
8938
8930
|
|
8939
|
-
//
|
8931
|
+
// blocks/auth/LoginForm.tsx
|
8940
8932
|
import React74, { useState as useState26 } from "react";
|
8941
8933
|
import { Controller, useForm } from "react-hook-form";
|
8942
8934
|
import { zodResolver } from "@hookform/resolvers/zod";
|
8943
8935
|
import { parsePhoneNumber } from "libphonenumber-js";
|
8944
8936
|
import * as z from "zod";
|
8945
8937
|
|
8946
|
-
//
|
8938
|
+
// blocks/auth/AuthButtons.tsx
|
8947
8939
|
import React73 from "react";
|
8948
8940
|
var AuthButtons = (props) => {
|
8949
8941
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
@@ -9020,7 +9012,7 @@ var AuthButtons = (props) => {
|
|
9020
9012
|
));
|
9021
9013
|
};
|
9022
9014
|
|
9023
|
-
//
|
9015
|
+
// blocks/auth/LoginForm.tsx
|
9024
9016
|
var LoginForm = ({
|
9025
9017
|
loginType,
|
9026
9018
|
texts,
|
@@ -9309,7 +9301,7 @@ var LoginForm = ({
|
|
9309
9301
|
) : null));
|
9310
9302
|
};
|
9311
9303
|
|
9312
|
-
//
|
9304
|
+
// blocks/auth/RegisterForm.tsx
|
9313
9305
|
import React75, { useState as useState27 } from "react";
|
9314
9306
|
import { Controller as Controller2, FormProvider, useForm as useForm2 } from "react-hook-form";
|
9315
9307
|
import { zodResolver as zodResolver2 } from "@hookform/resolvers/zod";
|
@@ -9645,7 +9637,7 @@ var RegisterForm = ({
|
|
9645
9637
|
) : null));
|
9646
9638
|
};
|
9647
9639
|
|
9648
|
-
//
|
9640
|
+
// blocks/auth/AppLanding.tsx
|
9649
9641
|
import React76 from "react";
|
9650
9642
|
var AppLanding = ({ texts, ...props }) => {
|
9651
9643
|
const thirdPartyAuthTexts = {
|
@@ -9686,7 +9678,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
9686
9678
|
)))));
|
9687
9679
|
};
|
9688
9680
|
|
9689
|
-
//
|
9681
|
+
// blocks/auth/CheckEmail.tsx
|
9690
9682
|
import React77 from "react";
|
9691
9683
|
var CheckEmail = ({ texts, handleResend }) => {
|
9692
9684
|
return /* @__PURE__ */ React77.createElement(Card, null, /* @__PURE__ */ React77.createElement(CardContent, { headless: true }, /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React77.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React77.createElement(
|
@@ -9707,7 +9699,7 @@ var CheckEmail = ({ texts, handleResend }) => {
|
|
9707
9699
|
)), /* @__PURE__ */ React77.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React77.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React77.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center " }, /* @__PURE__ */ React77.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
|
9708
9700
|
};
|
9709
9701
|
|
9710
|
-
//
|
9702
|
+
// blocks/auth/NewPassword.tsx
|
9711
9703
|
import React78, { useState as useState28 } from "react";
|
9712
9704
|
import { Controller as Controller3, useForm as useForm3 } from "react-hook-form";
|
9713
9705
|
import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
|
@@ -9804,7 +9796,7 @@ var NewPasswordForm = ({ texts, ...props }) => {
|
|
9804
9796
|
));
|
9805
9797
|
};
|
9806
9798
|
|
9807
|
-
//
|
9799
|
+
// blocks/auth/ResetPassword.tsx
|
9808
9800
|
import React79 from "react";
|
9809
9801
|
import { Controller as Controller4, useForm as useForm4 } from "react-hook-form";
|
9810
9802
|
import { zodResolver as zodResolver4 } from "@hookform/resolvers/zod";
|
@@ -9860,7 +9852,7 @@ var ResetPasswordForm = (props) => {
|
|
9860
9852
|
)) : /* @__PURE__ */ React79.createElement(CardContent, { headless: true }, /* @__PURE__ */ React79.createElement("div", { className: "hawa-text-center" }, (_n = props.texts) == null ? void 0 : _n.emailSentText)));
|
9861
9853
|
};
|
9862
9854
|
|
9863
|
-
//
|
9855
|
+
// blocks/auth/CodeConfirmation.tsx
|
9864
9856
|
import React80, { useEffect as useEffect19, useState as useState29 } from "react";
|
9865
9857
|
import { Controller as Controller5, useForm as useForm5 } from "react-hook-form";
|
9866
9858
|
import { zodResolver as zodResolver5 } from "@hookform/resolvers/zod";
|
@@ -9959,7 +9951,7 @@ var CodeConfirmation = (props) => {
|
|
9959
9951
|
)));
|
9960
9952
|
};
|
9961
9953
|
|
9962
|
-
//
|
9954
|
+
// blocks/feedback/UserReferralSource.tsx
|
9963
9955
|
import React81, { useRef as useRef11, useState as useState30 } from "react";
|
9964
9956
|
import { Controller as Controller6, useForm as useForm6 } from "react-hook-form";
|
9965
9957
|
import { zodResolver as zodResolver6 } from "@hookform/resolvers/zod";
|
@@ -10116,7 +10108,7 @@ var UserReferralSource = ({
|
|
10116
10108
|
);
|
10117
10109
|
};
|
10118
10110
|
|
10119
|
-
//
|
10111
|
+
// blocks/feedback/FeedbackRating.tsx
|
10120
10112
|
import React82, { useEffect as useEffect20, useRef as useRef12, useState as useState31 } from "react";
|
10121
10113
|
var FeedbackRating = ({
|
10122
10114
|
position = "bottom-right",
|
@@ -10230,7 +10222,7 @@ var FeedbackRating = ({
|
|
10230
10222
|
);
|
10231
10223
|
};
|
10232
10224
|
|
10233
|
-
//
|
10225
|
+
// blocks/feedback/FeedbackEmoji.tsx
|
10234
10226
|
import React83, { useState as useState32 } from "react";
|
10235
10227
|
var FeedbackEmoji = (props) => {
|
10236
10228
|
const [selectedEmoji, setSelectedEmoji] = useState32(null);
|
@@ -10343,7 +10335,7 @@ var FeedbackEmoji = (props) => {
|
|
10343
10335
|
);
|
10344
10336
|
};
|
10345
10337
|
|
10346
|
-
//
|
10338
|
+
// blocks/feedback/FeedbackForm.tsx
|
10347
10339
|
import React84 from "react";
|
10348
10340
|
import { useForm as useForm7, Controller as Controller7 } from "react-hook-form";
|
10349
10341
|
import { zodResolver as zodResolver7 } from "@hookform/resolvers/zod";
|
@@ -10427,7 +10419,7 @@ var FeedbackForm = (props) => {
|
|
10427
10419
|
);
|
10428
10420
|
};
|
10429
10421
|
|
10430
|
-
//
|
10422
|
+
// blocks/misc/LegalTexts.tsx
|
10431
10423
|
import React85 from "react";
|
10432
10424
|
var LegalTexts = ({ tabs, ...props }) => {
|
10433
10425
|
return /* @__PURE__ */ React85.createElement(
|
@@ -10452,7 +10444,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
10452
10444
|
);
|
10453
10445
|
};
|
10454
10446
|
|
10455
|
-
//
|
10447
|
+
// blocks/misc/EmptyState.tsx
|
10456
10448
|
import React86 from "react";
|
10457
10449
|
var EmptyState = ({ texts, onActionClick }) => {
|
10458
10450
|
return /* @__PURE__ */ React86.createElement(Card, null, /* @__PURE__ */ React86.createElement(CardContent, { headless: true }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center " }, /* @__PURE__ */ React86.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React86.createElement(
|
@@ -10469,7 +10461,7 @@ var EmptyState = ({ texts, onActionClick }) => {
|
|
10469
10461
|
)), /* @__PURE__ */ React86.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.youreCaughtUp) || "You're all caught up"))), /* @__PURE__ */ React86.createElement(CardFooter, null, /* @__PURE__ */ React86.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, (texts == null ? void 0 : texts.actionText) || "Go Home")));
|
10470
10462
|
};
|
10471
10463
|
|
10472
|
-
//
|
10464
|
+
// blocks/misc/Testimonial.tsx
|
10473
10465
|
import React87 from "react";
|
10474
10466
|
var Testimonial = () => {
|
10475
10467
|
return /* @__PURE__ */ React87.createElement(Card, null, /* @__PURE__ */ React87.createElement(CardContent, { headless: true }, /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement("p", { className: "mb-4 max-w-sm" }, "The team at Sikka Software is simply amazing. The tech is easy to follow, easy to work with, and infinitely flexible. The solution opportunities created by Tines are endless.")), /* @__PURE__ */ React87.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React87.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React87.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React87.createElement(
|
@@ -10487,7 +10479,7 @@ var Testimonial = () => {
|
|
10487
10479
|
)), /* @__PURE__ */ React87.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React87.createElement("div", null, /* @__PURE__ */ React87.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React87.createElement("div", null, " Chief Information Security Officer")))));
|
10488
10480
|
};
|
10489
10481
|
|
10490
|
-
//
|
10482
|
+
// blocks/misc/LeadGenerator.tsx
|
10491
10483
|
import React88 from "react";
|
10492
10484
|
import { useForm as useForm8, Controller as Controller8 } from "react-hook-form";
|
10493
10485
|
var LeadGenerator = ({ texts, submitHandler }) => {
|
@@ -10527,7 +10519,7 @@ var LeadGenerator = ({ texts, submitHandler }) => {
|
|
10527
10519
|
)));
|
10528
10520
|
};
|
10529
10521
|
|
10530
|
-
//
|
10522
|
+
// blocks/misc/Announcement.tsx
|
10531
10523
|
import React89 from "react";
|
10532
10524
|
var Announcement = ({
|
10533
10525
|
onActionClick,
|
@@ -10551,13 +10543,13 @@ var Announcement = ({
|
|
10551
10543
|
));
|
10552
10544
|
};
|
10553
10545
|
|
10554
|
-
//
|
10546
|
+
// blocks/misc/NotFound.tsx
|
10555
10547
|
import React90 from "react";
|
10556
10548
|
var NotFound = ({ texts }) => {
|
10557
10549
|
return /* @__PURE__ */ React90.createElement(Card, null, /* @__PURE__ */ React90.createElement(CardContent, { headless: true }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React90.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React90.createElement(React90.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React90.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React90.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
|
10558
10550
|
};
|
10559
10551
|
|
10560
|
-
//
|
10552
|
+
// blocks/misc/NoPermission.tsx
|
10561
10553
|
import React91 from "react";
|
10562
10554
|
var NoPermission = ({ texts }) => {
|
10563
10555
|
return /* @__PURE__ */ React91.createElement(Card, null, /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React91.createElement(
|
@@ -10574,7 +10566,7 @@ var NoPermission = ({ texts }) => {
|
|
10574
10566
|
)), /* @__PURE__ */ React91.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.title) || "You don't have permission"), /* @__PURE__ */ React91.createElement("div", null, (texts == null ? void 0 : texts.subtitle) || "If you think this is a problem please contact your administrator or our customer support"))));
|
10575
10567
|
};
|
10576
10568
|
|
10577
|
-
//
|
10569
|
+
// blocks/misc/ContactForm.tsx
|
10578
10570
|
import React92 from "react";
|
10579
10571
|
import { useForm as useForm9, Controller as Controller9 } from "react-hook-form";
|
10580
10572
|
import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
|
@@ -10716,10 +10708,10 @@ var ContactForm = ({
|
|
10716
10708
|
);
|
10717
10709
|
};
|
10718
10710
|
|
10719
|
-
//
|
10711
|
+
// blocks/pricing/PricingPlans.tsx
|
10720
10712
|
import React98 from "react";
|
10721
10713
|
|
10722
|
-
//
|
10714
|
+
// blocks/cards/ActionCard.tsx
|
10723
10715
|
import React93, { useState as useState33 } from "react";
|
10724
10716
|
var ActionCard = (props) => {
|
10725
10717
|
const [hovered, setHovered] = useState33(false);
|
@@ -10758,7 +10750,7 @@ var ActionCard = (props) => {
|
|
10758
10750
|
));
|
10759
10751
|
};
|
10760
10752
|
|
10761
|
-
//
|
10753
|
+
// blocks/cards/AdCard.tsx
|
10762
10754
|
import React94, { useState as useState34, useEffect as useEffect21, useRef as useRef13 } from "react";
|
10763
10755
|
var AdCard = ({
|
10764
10756
|
orientation = "vertical",
|
@@ -10831,7 +10823,7 @@ var AdCard = ({
|
|
10831
10823
|
));
|
10832
10824
|
};
|
10833
10825
|
|
10834
|
-
//
|
10826
|
+
// blocks/cards/PricingCard.tsx
|
10835
10827
|
import React95 from "react";
|
10836
10828
|
var PricingCard = ({
|
10837
10829
|
size = "medium",
|
@@ -10941,7 +10933,7 @@ var PricingCard = ({
|
|
10941
10933
|
);
|
10942
10934
|
};
|
10943
10935
|
|
10944
|
-
//
|
10936
|
+
// blocks/cards/ItemCard.tsx
|
10945
10937
|
import React96, { useEffect as useEffect22, useState as useState35 } from "react";
|
10946
10938
|
var ItemCard = ({
|
10947
10939
|
actions,
|
@@ -11058,13 +11050,13 @@ var ItemCard = ({
|
|
11058
11050
|
);
|
11059
11051
|
};
|
11060
11052
|
|
11061
|
-
//
|
11053
|
+
// blocks/cards/LandingCard.tsx
|
11062
11054
|
import React97 from "react";
|
11063
11055
|
var LandingCard = (props) => {
|
11064
11056
|
return /* @__PURE__ */ React97.createElement(Card, { className: props.className }, /* @__PURE__ */ React97.createElement(CardHeader, null, props.icon, /* @__PURE__ */ React97.createElement(CardTitle, null, props.title), /* @__PURE__ */ React97.createElement(CardDescription, null, props.subtitle)));
|
11065
11057
|
};
|
11066
11058
|
|
11067
|
-
//
|
11059
|
+
// blocks/pricing/PricingPlans.tsx
|
11068
11060
|
var PricingPlans = ({
|
11069
11061
|
mainContainerProps,
|
11070
11062
|
cardsContainerProps,
|
@@ -11131,7 +11123,7 @@ var PricingPlans = ({
|
|
11131
11123
|
));
|
11132
11124
|
};
|
11133
11125
|
|
11134
|
-
//
|
11126
|
+
// blocks/pricing/ComparingPlans.tsx
|
11135
11127
|
import React99 from "react";
|
11136
11128
|
var ComparingPlans = (props) => {
|
11137
11129
|
const uniqueFeatures = Array.from(
|
@@ -11202,7 +11194,7 @@ var ComparingPlans = (props) => {
|
|
11202
11194
|
{
|
11203
11195
|
key: featureIndex,
|
11204
11196
|
className: cn(
|
11205
|
-
"hawa-border-foreground-muted
|
11197
|
+
"hawa-border-foreground-muted hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
|
11206
11198
|
featureIndex === 0 ? "" : "hawa-border-t"
|
11207
11199
|
)
|
11208
11200
|
},
|
@@ -11297,7 +11289,7 @@ var ComparingPlans = (props) => {
|
|
11297
11289
|
})));
|
11298
11290
|
};
|
11299
11291
|
|
11300
|
-
//
|
11292
|
+
// blocks/pricing/HorizontalPricing.tsx
|
11301
11293
|
import React100, { useState as useState36 } from "react";
|
11302
11294
|
var HorizontalPricing = (props) => {
|
11303
11295
|
const [selectedCard, setSelectedCard] = useState36("");
|
@@ -11392,7 +11384,7 @@ var CheckIcons = () => /* @__PURE__ */ React100.createElement(React100.Fragment,
|
|
11392
11384
|
var CardText = (props) => /* @__PURE__ */ React100.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start " }, /* @__PURE__ */ React100.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React100.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
|
11393
11385
|
var CardPrice = (props) => /* @__PURE__ */ React100.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React100.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
|
11394
11386
|
|
11395
|
-
//
|
11387
|
+
// blocks/Usage.tsx
|
11396
11388
|
import React101 from "react";
|
11397
11389
|
var Usage = (props) => {
|
11398
11390
|
var _a;
|
@@ -11411,20 +11403,20 @@ var Usage = (props) => {
|
|
11411
11403
|
))), /* @__PURE__ */ React101.createElement("div", { className: "hawa-bg-white-100 hawa-flex hawa-flex-row" }, /* @__PURE__ */ React101.createElement("div", null, props.currentUsage), /* @__PURE__ */ React101.createElement("div", null, " (", props.percent, "%)")), /* @__PURE__ */ React101.createElement(Progress, { value: (_a = props.percent) != null ? _a : 0 }));
|
11412
11404
|
};
|
11413
11405
|
|
11414
|
-
//
|
11406
|
+
// hooks/useIsomorphicEffect.ts
|
11415
11407
|
import { useEffect as useEffect23, useLayoutEffect } from "react";
|
11416
11408
|
var useIsomorphicEffect = typeof document !== "undefined" ? useLayoutEffect : useEffect23;
|
11417
11409
|
|
11418
|
-
//
|
11410
|
+
// hooks/useDiscloser.ts
|
11419
11411
|
import { useState as useState37 } from "react";
|
11420
11412
|
|
11421
|
-
//
|
11413
|
+
// hooks/useHover.ts
|
11422
11414
|
import { useEffect as useEffect24, useRef as useRef14, useState as useState38 } from "react";
|
11423
11415
|
|
11424
|
-
//
|
11416
|
+
// hooks/useCarousel.ts
|
11425
11417
|
import { useState as useState39, useRef as useRef15 } from "react";
|
11426
11418
|
|
11427
|
-
//
|
11419
|
+
// hooks/useDialogCarousel.ts
|
11428
11420
|
import { useEffect as useEffect25, useState as useState40 } from "react";
|
11429
11421
|
import AutoHeight from "embla-carousel-auto-height";
|
11430
11422
|
import useEmblaCarousel2 from "embla-carousel-react";
|
@@ -11467,7 +11459,7 @@ var useDialogCarousel = (options) => {
|
|
11467
11459
|
};
|
11468
11460
|
};
|
11469
11461
|
|
11470
|
-
//
|
11462
|
+
// hooks/useDialogSteps.ts
|
11471
11463
|
import { useState as useState41, useEffect as useEffect26, useRef as useRef16 } from "react";
|
11472
11464
|
var useMultiStepDialog = (initialStep, stepIds, setOpenDialog) => {
|
11473
11465
|
const [currentStep, setCurrentStep] = useState41(initialStep);
|
@@ -11503,7 +11495,7 @@ var useMultiStepDialog = (initialStep, stepIds, setOpenDialog) => {
|
|
11503
11495
|
};
|
11504
11496
|
};
|
11505
11497
|
|
11506
|
-
//
|
11498
|
+
// hooks/useWindowSize.ts
|
11507
11499
|
import { useEffect as useEffect27, useState as useState42 } from "react";
|
11508
11500
|
var useWindowSize = () => {
|
11509
11501
|
const [windowSize, setWindowSize] = useState42({
|
@@ -11524,7 +11516,7 @@ var useWindowSize = () => {
|
|
11524
11516
|
return windowSize;
|
11525
11517
|
};
|
11526
11518
|
|
11527
|
-
//
|
11519
|
+
// hooks/useFocusWithin.ts
|
11528
11520
|
import { useRef as useRef17, useState as useState43, useEffect as useEffect28 } from "react";
|
11529
11521
|
function containsRelatedTarget(event) {
|
11530
11522
|
if (event.currentTarget instanceof HTMLElement && event.relatedTarget instanceof HTMLElement) {
|
@@ -11570,7 +11562,7 @@ function useFocusWithin({
|
|
11570
11562
|
return { ref, focused };
|
11571
11563
|
}
|
11572
11564
|
|
11573
|
-
//
|
11565
|
+
// hooks/useMediaQuery.ts
|
11574
11566
|
import { useState as useState44, useEffect as useEffect29, useRef as useRef18 } from "react";
|
11575
11567
|
function attachMediaListener(query, callback) {
|
11576
11568
|
try {
|
@@ -11611,13 +11603,13 @@ function useMediaQuery(query, initialValue, { getInitialValueInEffect } = {
|
|
11611
11603
|
return matches;
|
11612
11604
|
}
|
11613
11605
|
|
11614
|
-
//
|
11606
|
+
// hooks/useScrollPosition.ts
|
11615
11607
|
import { useState as useState45, useEffect as useEffect30 } from "react";
|
11616
11608
|
|
11617
|
-
//
|
11609
|
+
// hooks/useTable.ts
|
11618
11610
|
import { useState as useState46, useEffect as useEffect31 } from "react";
|
11619
11611
|
|
11620
|
-
//
|
11612
|
+
// hooks/useTabs.ts
|
11621
11613
|
import { useEffect as useEffect32, useState as useState47 } from "react";
|
11622
11614
|
function useTabs(initialTab = "") {
|
11623
11615
|
const [activeTab, setActiveTab] = useState47(initialTab);
|