@sikka/hawa 0.31.10-next → 0.31.12-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/appLayout/index.d.mts +1 -0
- package/dist/appLayout/index.d.ts +1 -0
- package/dist/appLayout/index.js +163 -143
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +158 -138
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/blocks/index.js +199 -196
- package/dist/blocks/index.mjs +3 -3
- package/dist/blocks/misc/index.js +145 -142
- package/dist/blocks/misc/index.mjs +63 -60
- package/dist/{chunk-UDCDD66A.mjs → chunk-JU6Q4Q3T.mjs} +21 -1
- package/dist/{chunk-JXN2PVGT.mjs → chunk-VZNDYO6H.mjs} +1 -1
- package/dist/elements/index.js +253 -250
- package/dist/elements/index.mjs +3 -3
- package/dist/hooks/index.js +3 -0
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +749 -729
- package/dist/index.mjs +679 -659
- package/dist/layout/index.d.mts +1 -0
- package/dist/layout/index.d.ts +1 -0
- package/dist/layout/index.js +271 -251
- package/dist/layout/index.mjs +30 -28
- package/dist/tabs/index.js +26 -23
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +26 -23
- package/dist/tabs/index.mjs.map +1 -1
- package/package.json +12 -12
- /package/dist/{chunk-R2SKHHDK.mjs → chunk-OPYDG34F.mjs} +0 -0
package/dist/layout/index.js
CHANGED
@@ -652,14 +652,33 @@ var Navbar = ({
|
|
652
652
|
};
|
653
653
|
|
654
654
|
// layout/appLayout/AppLayout.tsx
|
655
|
-
var
|
655
|
+
var import_react9 = __toESM(require("react"));
|
656
|
+
|
657
|
+
// hooks/useOutsideClick.ts
|
658
|
+
var import_react6 = __toESM(require("react"));
|
659
|
+
var useOutsideClick = (callback) => {
|
660
|
+
const ref = import_react6.default.useRef(null);
|
661
|
+
import_react6.default.useEffect(() => {
|
662
|
+
const handleClick = (event) => {
|
663
|
+
if (ref.current && !ref.current.contains(event.target)) {
|
664
|
+
callback();
|
665
|
+
}
|
666
|
+
};
|
667
|
+
document.addEventListener("click", handleClick, true);
|
668
|
+
return () => {
|
669
|
+
document.removeEventListener("click", handleClick, true);
|
670
|
+
};
|
671
|
+
}, [ref]);
|
672
|
+
return ref;
|
673
|
+
};
|
674
|
+
var useOutsideClick_default = useOutsideClick;
|
656
675
|
|
657
676
|
// elements/button/Button.tsx
|
658
|
-
var
|
677
|
+
var React10 = __toESM(require("react"));
|
659
678
|
var import_class_variance_authority = require("class-variance-authority");
|
660
679
|
|
661
680
|
// elements/loading/Loading.tsx
|
662
|
-
var
|
681
|
+
var import_react7 = __toESM(require("react"));
|
663
682
|
var Loading = ({
|
664
683
|
design = "spinner",
|
665
684
|
size = "normal",
|
@@ -690,7 +709,7 @@ var Loading = ({
|
|
690
709
|
};
|
691
710
|
switch (design.split("-")[0]) {
|
692
711
|
case "dots":
|
693
|
-
return /* @__PURE__ */
|
712
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
694
713
|
"div",
|
695
714
|
{
|
696
715
|
className: cn(
|
@@ -698,7 +717,7 @@ var Loading = ({
|
|
698
717
|
classNames == null ? void 0 : classNames.container
|
699
718
|
)
|
700
719
|
},
|
701
|
-
/* @__PURE__ */
|
720
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
702
721
|
"div",
|
703
722
|
{
|
704
723
|
className: cn(
|
@@ -709,7 +728,7 @@ var Loading = ({
|
|
709
728
|
)
|
710
729
|
}
|
711
730
|
),
|
712
|
-
/* @__PURE__ */
|
731
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
713
732
|
"div",
|
714
733
|
{
|
715
734
|
className: cn(
|
@@ -720,7 +739,7 @@ var Loading = ({
|
|
720
739
|
)
|
721
740
|
}
|
722
741
|
),
|
723
|
-
/* @__PURE__ */
|
742
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
724
743
|
"div",
|
725
744
|
{
|
726
745
|
className: cn(
|
@@ -733,7 +752,7 @@ var Loading = ({
|
|
733
752
|
)
|
734
753
|
);
|
735
754
|
case "square":
|
736
|
-
return /* @__PURE__ */
|
755
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
737
756
|
"svg",
|
738
757
|
{
|
739
758
|
className: cn(
|
@@ -745,7 +764,7 @@ var Loading = ({
|
|
745
764
|
height: "35",
|
746
765
|
width: "35"
|
747
766
|
},
|
748
|
-
/* @__PURE__ */
|
767
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
749
768
|
"rect",
|
750
769
|
{
|
751
770
|
className: "squircle-track",
|
@@ -757,7 +776,7 @@ var Loading = ({
|
|
757
776
|
height: "32.5"
|
758
777
|
}
|
759
778
|
),
|
760
|
-
/* @__PURE__ */
|
779
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
761
780
|
"rect",
|
762
781
|
{
|
763
782
|
className: "square-car",
|
@@ -772,7 +791,7 @@ var Loading = ({
|
|
772
791
|
)
|
773
792
|
);
|
774
793
|
case "squircle":
|
775
|
-
return /* @__PURE__ */
|
794
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
776
795
|
"svg",
|
777
796
|
{
|
778
797
|
x: "0px",
|
@@ -787,7 +806,7 @@ var Loading = ({
|
|
787
806
|
classNames == null ? void 0 : classNames.container
|
788
807
|
)
|
789
808
|
},
|
790
|
-
/* @__PURE__ */
|
809
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
791
810
|
"path",
|
792
811
|
{
|
793
812
|
className: cn("squircle-track", classNames == null ? void 0 : classNames.track),
|
@@ -797,7 +816,7 @@ var Loading = ({
|
|
797
816
|
d: "M0.37 18.5 C0.37 5.772 5.772 0.37 18.5 0.37 S36.63 5.772 36.63 18.5 S31.228 36.63 18.5 36.63 S0.37 31.228 0.37 18.5"
|
798
817
|
}
|
799
818
|
),
|
800
|
-
/* @__PURE__ */
|
819
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
801
820
|
"path",
|
802
821
|
{
|
803
822
|
className: cn("squircle-car", classNames == null ? void 0 : classNames.car),
|
@@ -809,7 +828,7 @@ var Loading = ({
|
|
809
828
|
)
|
810
829
|
);
|
811
830
|
case "progress":
|
812
|
-
return /* @__PURE__ */
|
831
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
813
832
|
"div",
|
814
833
|
{
|
815
834
|
className: cn(
|
@@ -820,9 +839,9 @@ var Loading = ({
|
|
820
839
|
}
|
821
840
|
);
|
822
841
|
case "orbit":
|
823
|
-
return /* @__PURE__ */
|
842
|
+
return /* @__PURE__ */ import_react7.default.createElement("div", { className: cn("orbit-container", classNames == null ? void 0 : classNames.container) });
|
824
843
|
default:
|
825
|
-
return /* @__PURE__ */
|
844
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
826
845
|
"svg",
|
827
846
|
{
|
828
847
|
viewBox: "0 0 40 40",
|
@@ -834,7 +853,7 @@ var Loading = ({
|
|
834
853
|
classNames == null ? void 0 : classNames.container
|
835
854
|
)
|
836
855
|
},
|
837
|
-
/* @__PURE__ */
|
856
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
838
857
|
"circle",
|
839
858
|
{
|
840
859
|
className: cn(
|
@@ -853,7 +872,7 @@ var Loading = ({
|
|
853
872
|
pathLength: "100"
|
854
873
|
}
|
855
874
|
),
|
856
|
-
/* @__PURE__ */
|
875
|
+
/* @__PURE__ */ import_react7.default.createElement(
|
857
876
|
"circle",
|
858
877
|
{
|
859
878
|
className: cn(
|
@@ -910,7 +929,7 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
910
929
|
}
|
911
930
|
}
|
912
931
|
);
|
913
|
-
var Button =
|
932
|
+
var Button = React10.forwardRef(
|
914
933
|
({
|
915
934
|
className,
|
916
935
|
variant,
|
@@ -923,7 +942,7 @@ var Button = React9.forwardRef(
|
|
923
942
|
}, ref) => {
|
924
943
|
const Comp = "button";
|
925
944
|
const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
|
926
|
-
return /* @__PURE__ */
|
945
|
+
return /* @__PURE__ */ React10.createElement(
|
927
946
|
Comp,
|
928
947
|
{
|
929
948
|
className: cn(
|
@@ -933,7 +952,7 @@ var Button = React9.forwardRef(
|
|
933
952
|
ref,
|
934
953
|
...props
|
935
954
|
},
|
936
|
-
isLoading ? /* @__PURE__ */
|
955
|
+
isLoading ? /* @__PURE__ */ React10.createElement(
|
937
956
|
Loading,
|
938
957
|
{
|
939
958
|
design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
|
@@ -948,14 +967,14 @@ var Button = React9.forwardRef(
|
|
948
967
|
Button.displayName = "Button";
|
949
968
|
|
950
969
|
// elements/dropdownMenu/DropdownMenu.tsx
|
951
|
-
var
|
970
|
+
var React11 = __toESM(require("react"));
|
952
971
|
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
|
953
972
|
var DropdownMenuRoot = DropdownMenuPrimitive.Root;
|
954
973
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
955
974
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
956
975
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
957
976
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
958
|
-
var DropdownMenuSubTrigger =
|
977
|
+
var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
|
959
978
|
DropdownMenuPrimitive.SubTrigger,
|
960
979
|
{
|
961
980
|
ref,
|
@@ -966,9 +985,9 @@ var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, children, .
|
|
966
985
|
),
|
967
986
|
...props
|
968
987
|
},
|
969
|
-
/* @__PURE__ */
|
988
|
+
/* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
|
970
989
|
" ",
|
971
|
-
/* @__PURE__ */
|
990
|
+
/* @__PURE__ */ React11.createElement(
|
972
991
|
"svg",
|
973
992
|
{
|
974
993
|
"aria-label": "Chevron Right Icon",
|
@@ -980,7 +999,7 @@ var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, children, .
|
|
980
999
|
width: "1em",
|
981
1000
|
className: cn(props.dir === "rtl" ? "hawa-rotate-180" : "")
|
982
1001
|
},
|
983
|
-
/* @__PURE__ */
|
1002
|
+
/* @__PURE__ */ React11.createElement(
|
984
1003
|
"path",
|
985
1004
|
{
|
986
1005
|
fillRule: "evenodd",
|
@@ -990,7 +1009,7 @@ var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, children, .
|
|
990
1009
|
)
|
991
1010
|
));
|
992
1011
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
993
|
-
var DropdownMenuSubContent =
|
1012
|
+
var DropdownMenuSubContent = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
|
994
1013
|
DropdownMenuPrimitive.SubContent,
|
995
1014
|
{
|
996
1015
|
ref,
|
@@ -1002,7 +1021,7 @@ var DropdownMenuSubContent = React10.forwardRef(({ className, ...props }, ref) =
|
|
1002
1021
|
}
|
1003
1022
|
));
|
1004
1023
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
1005
|
-
var DropdownMenuContent =
|
1024
|
+
var DropdownMenuContent = React11.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React11.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React11.createElement(
|
1006
1025
|
DropdownMenuPrimitive.Content,
|
1007
1026
|
{
|
1008
1027
|
ref,
|
@@ -1015,8 +1034,8 @@ var DropdownMenuContent = React10.forwardRef(({ className, sideOffset = 4, ...pr
|
|
1015
1034
|
}
|
1016
1035
|
)));
|
1017
1036
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
1018
|
-
var DropdownMenuItem =
|
1019
|
-
return /* @__PURE__ */
|
1037
|
+
var DropdownMenuItem = React11.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
|
1038
|
+
return /* @__PURE__ */ React11.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React11.createElement(
|
1020
1039
|
DropdownMenuPrimitive.Item,
|
1021
1040
|
{
|
1022
1041
|
disabled: props.disabled,
|
@@ -1029,14 +1048,14 @@ var DropdownMenuItem = React10.forwardRef(({ className, inset, badged, slug, Lin
|
|
1029
1048
|
),
|
1030
1049
|
...props
|
1031
1050
|
},
|
1032
|
-
/* @__PURE__ */
|
1051
|
+
/* @__PURE__ */ React11.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
|
1033
1052
|
props.end && props.end,
|
1034
|
-
!props.end && props.shortcut && /* @__PURE__ */
|
1035
|
-
!props.end && badged && /* @__PURE__ */
|
1053
|
+
!props.end && props.shortcut && /* @__PURE__ */ React11.createElement(DropdownMenuShortcut, null, props.shortcut),
|
1054
|
+
!props.end && badged && /* @__PURE__ */ React11.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
|
1036
1055
|
));
|
1037
1056
|
});
|
1038
1057
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
1039
|
-
var DropdownMenuCheckboxItem =
|
1058
|
+
var DropdownMenuCheckboxItem = React11.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React11.createElement(
|
1040
1059
|
DropdownMenuPrimitive.CheckboxItem,
|
1041
1060
|
{
|
1042
1061
|
ref,
|
@@ -1047,7 +1066,7 @@ var DropdownMenuCheckboxItem = React10.forwardRef(({ className, children, checke
|
|
1047
1066
|
checked,
|
1048
1067
|
...props
|
1049
1068
|
},
|
1050
|
-
/* @__PURE__ */
|
1069
|
+
/* @__PURE__ */ React11.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React11.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React11.createElement(
|
1051
1070
|
"svg",
|
1052
1071
|
{
|
1053
1072
|
"aria-label": "Check Mark",
|
@@ -1058,12 +1077,12 @@ var DropdownMenuCheckboxItem = React10.forwardRef(({ className, children, checke
|
|
1058
1077
|
height: "0.60em",
|
1059
1078
|
width: "0.60em"
|
1060
1079
|
},
|
1061
|
-
/* @__PURE__ */
|
1080
|
+
/* @__PURE__ */ React11.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
|
1062
1081
|
), " ")),
|
1063
1082
|
children
|
1064
1083
|
));
|
1065
1084
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
1066
|
-
var DropdownMenuRadioItem =
|
1085
|
+
var DropdownMenuRadioItem = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
|
1067
1086
|
DropdownMenuPrimitive.RadioItem,
|
1068
1087
|
{
|
1069
1088
|
ref,
|
@@ -1073,7 +1092,7 @@ var DropdownMenuRadioItem = React10.forwardRef(({ className, children, ...props
|
|
1073
1092
|
),
|
1074
1093
|
...props
|
1075
1094
|
},
|
1076
|
-
/* @__PURE__ */
|
1095
|
+
/* @__PURE__ */ React11.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React11.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React11.createElement(
|
1077
1096
|
"svg",
|
1078
1097
|
{
|
1079
1098
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -1088,12 +1107,12 @@ var DropdownMenuRadioItem = React10.forwardRef(({ className, children, ...props
|
|
1088
1107
|
strokeLinejoin: "round",
|
1089
1108
|
className: "hawa-h-2 hawa-w-2 hawa-fill-current"
|
1090
1109
|
},
|
1091
|
-
/* @__PURE__ */
|
1110
|
+
/* @__PURE__ */ React11.createElement("circle", { cx: "12", cy: "12", r: "10" })
|
1092
1111
|
))),
|
1093
1112
|
children
|
1094
1113
|
));
|
1095
1114
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
1096
|
-
var DropdownMenuLabel =
|
1115
|
+
var DropdownMenuLabel = React11.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React11.createElement(
|
1097
1116
|
DropdownMenuPrimitive.Label,
|
1098
1117
|
{
|
1099
1118
|
ref,
|
@@ -1106,7 +1125,7 @@ var DropdownMenuLabel = React10.forwardRef(({ className, inset, ...props }, ref)
|
|
1106
1125
|
}
|
1107
1126
|
));
|
1108
1127
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
1109
|
-
var DropdownMenuSeparator =
|
1128
|
+
var DropdownMenuSeparator = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React11.createElement(
|
1110
1129
|
DropdownMenuPrimitive.Separator,
|
1111
1130
|
{
|
1112
1131
|
ref,
|
@@ -1119,7 +1138,7 @@ var DropdownMenuShortcut = ({
|
|
1119
1138
|
className,
|
1120
1139
|
...props
|
1121
1140
|
}) => {
|
1122
|
-
return /* @__PURE__ */
|
1141
|
+
return /* @__PURE__ */ React11.createElement(
|
1123
1142
|
"span",
|
1124
1143
|
{
|
1125
1144
|
className: cn(
|
@@ -1159,10 +1178,10 @@ var DropdownMenu = ({
|
|
1159
1178
|
default: "hawa-px-2 hawa-py-3 ",
|
1160
1179
|
sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
|
1161
1180
|
};
|
1162
|
-
let [values, setValues] =
|
1181
|
+
let [values, setValues] = React11.useState(
|
1163
1182
|
items.map((item) => item.currentOption)
|
1164
1183
|
);
|
1165
|
-
return /* @__PURE__ */
|
1184
|
+
return /* @__PURE__ */ React11.createElement(
|
1166
1185
|
DropdownMenuRoot,
|
1167
1186
|
{
|
1168
1187
|
onOpenChange,
|
@@ -1170,8 +1189,8 @@ var DropdownMenu = ({
|
|
1170
1189
|
modal: false,
|
1171
1190
|
dir: direction
|
1172
1191
|
},
|
1173
|
-
/* @__PURE__ */
|
1174
|
-
/* @__PURE__ */
|
1192
|
+
/* @__PURE__ */ React11.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
|
1193
|
+
/* @__PURE__ */ React11.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React11.createElement(
|
1175
1194
|
DropdownMenuContent,
|
1176
1195
|
{
|
1177
1196
|
side,
|
@@ -1192,12 +1211,12 @@ var DropdownMenu = ({
|
|
1192
1211
|
var _a;
|
1193
1212
|
const ItemLinkComponent = item.slug ? LinkComponent : "a";
|
1194
1213
|
if (item.itemType === "separator") {
|
1195
|
-
return /* @__PURE__ */
|
1214
|
+
return /* @__PURE__ */ React11.createElement(DropdownMenuSeparator, { key: index });
|
1196
1215
|
} else if (item.itemType === "label") {
|
1197
|
-
return /* @__PURE__ */
|
1216
|
+
return /* @__PURE__ */ React11.createElement(DropdownMenuLabel, { key: index }, item.label);
|
1198
1217
|
} else if (item.itemType === "radio") {
|
1199
1218
|
let dd = item.currentOption;
|
1200
|
-
return /* @__PURE__ */
|
1219
|
+
return /* @__PURE__ */ React11.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React11.createElement(
|
1201
1220
|
DropdownMenuSubTrigger,
|
1202
1221
|
{
|
1203
1222
|
dir: direction,
|
@@ -1205,7 +1224,7 @@ var DropdownMenu = ({
|
|
1205
1224
|
},
|
1206
1225
|
item.icon && item.icon,
|
1207
1226
|
item.label && item.label
|
1208
|
-
), /* @__PURE__ */
|
1227
|
+
), /* @__PURE__ */ React11.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React11.createElement(
|
1209
1228
|
DropdownMenuRadioGroup,
|
1210
1229
|
{
|
1211
1230
|
value: values[index],
|
@@ -1219,12 +1238,12 @@ var DropdownMenu = ({
|
|
1219
1238
|
}
|
1220
1239
|
}
|
1221
1240
|
},
|
1222
|
-
(_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */
|
1241
|
+
(_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React11.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
|
1223
1242
|
)));
|
1224
1243
|
} else if (item.itemType === "custom") {
|
1225
|
-
return /* @__PURE__ */
|
1244
|
+
return /* @__PURE__ */ React11.createElement("div", { key: index }, item.content);
|
1226
1245
|
} else {
|
1227
|
-
return item.subitems ? /* @__PURE__ */
|
1246
|
+
return item.subitems ? /* @__PURE__ */ React11.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React11.createElement(
|
1228
1247
|
DropdownMenuSubTrigger,
|
1229
1248
|
{
|
1230
1249
|
dir: direction,
|
@@ -1232,9 +1251,9 @@ var DropdownMenu = ({
|
|
1232
1251
|
},
|
1233
1252
|
item.icon && item.icon,
|
1234
1253
|
item.label && item.label
|
1235
|
-
), /* @__PURE__ */
|
1254
|
+
), /* @__PURE__ */ React11.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React11.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
|
1236
1255
|
const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
|
1237
|
-
return /* @__PURE__ */
|
1256
|
+
return /* @__PURE__ */ React11.createElement(
|
1238
1257
|
DropdownMenuItem,
|
1239
1258
|
{
|
1240
1259
|
key: subIndex,
|
@@ -1263,7 +1282,7 @@ var DropdownMenu = ({
|
|
1263
1282
|
subitem.icon && subitem.icon,
|
1264
1283
|
subitem.label && subitem.label
|
1265
1284
|
);
|
1266
|
-
})))) : /* @__PURE__ */
|
1285
|
+
})))) : /* @__PURE__ */ React11.createElement(
|
1267
1286
|
DropdownMenuItem,
|
1268
1287
|
{
|
1269
1288
|
LinkComponent: ItemLinkComponent,
|
@@ -1317,9 +1336,9 @@ var DropdownMenu = ({
|
|
1317
1336
|
};
|
1318
1337
|
|
1319
1338
|
// elements/tooltip/Tooltip.tsx
|
1320
|
-
var
|
1339
|
+
var import_react8 = __toESM(require("react"));
|
1321
1340
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
1322
|
-
var TooltipContent =
|
1341
|
+
var TooltipContent = import_react8.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react8.default.createElement(
|
1323
1342
|
TooltipPrimitive.Content,
|
1324
1343
|
{
|
1325
1344
|
ref,
|
@@ -1336,7 +1355,7 @@ var TooltipContent = import_react7.default.forwardRef(({ className, sideOffset =
|
|
1336
1355
|
}
|
1337
1356
|
));
|
1338
1357
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
1339
|
-
var TooltipArrow =
|
1358
|
+
var TooltipArrow = import_react8.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react8.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
1340
1359
|
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
1341
1360
|
var Tooltip = ({
|
1342
1361
|
side,
|
@@ -1353,13 +1372,13 @@ var Tooltip = ({
|
|
1353
1372
|
delayDuration = 300,
|
1354
1373
|
...props
|
1355
1374
|
}) => {
|
1356
|
-
return /* @__PURE__ */
|
1375
|
+
return /* @__PURE__ */ import_react8.default.createElement(
|
1357
1376
|
TooltipPrimitive.TooltipProvider,
|
1358
1377
|
{
|
1359
1378
|
delayDuration,
|
1360
1379
|
...providerProps
|
1361
1380
|
},
|
1362
|
-
/* @__PURE__ */
|
1381
|
+
/* @__PURE__ */ import_react8.default.createElement(
|
1363
1382
|
TooltipPrimitive.Root,
|
1364
1383
|
{
|
1365
1384
|
open: !disabled && open,
|
@@ -1367,8 +1386,8 @@ var Tooltip = ({
|
|
1367
1386
|
onOpenChange,
|
1368
1387
|
...props
|
1369
1388
|
},
|
1370
|
-
/* @__PURE__ */
|
1371
|
-
/* @__PURE__ */
|
1389
|
+
/* @__PURE__ */ import_react8.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
1390
|
+
/* @__PURE__ */ import_react8.default.createElement(
|
1372
1391
|
TooltipContent,
|
1373
1392
|
{
|
1374
1393
|
size,
|
@@ -1402,6 +1421,7 @@ var AppLayout = ({
|
|
1402
1421
|
keepOpen,
|
1403
1422
|
DrawerLinkComponent,
|
1404
1423
|
MenuLinkComponent,
|
1424
|
+
onAvatarClick,
|
1405
1425
|
...props
|
1406
1426
|
}) => {
|
1407
1427
|
var _a, _b;
|
@@ -1415,13 +1435,17 @@ var AppLayout = ({
|
|
1415
1435
|
lg: closeDrawerWidth
|
1416
1436
|
}
|
1417
1437
|
};
|
1418
|
-
const
|
1438
|
+
const drawerRef = (0, import_react9.useRef)(null);
|
1419
1439
|
const isRTL = direction === "rtl";
|
1420
|
-
const [openedSidebarItem, setOpenedSidebarItem] = (0,
|
1421
|
-
const [size, setSize] = (0,
|
1422
|
-
const [openSideMenu, setOpenSideMenu] = (0,
|
1440
|
+
const [openedSidebarItem, setOpenedSidebarItem] = (0, import_react9.useState)("");
|
1441
|
+
const [size, setSize] = (0, import_react9.useState)(1200);
|
1442
|
+
const [openSideMenu, setOpenSideMenu] = (0, import_react9.useState)(true);
|
1443
|
+
const handleClickOutside = () => {
|
1444
|
+
setOpenSideMenu(false);
|
1445
|
+
};
|
1446
|
+
const ref = useOutsideClick_default(handleClickOutside);
|
1423
1447
|
const drawerSizeCondition = size > 600 ? drawerSizeStyle[keepOpen ? "opened" : "closed"][drawerSize] : 0;
|
1424
|
-
(0,
|
1448
|
+
(0, import_react9.useEffect)(() => {
|
1425
1449
|
if (typeof window !== "undefined") {
|
1426
1450
|
const resize = () => {
|
1427
1451
|
setSize(window.innerWidth);
|
@@ -1433,25 +1457,14 @@ var AppLayout = ({
|
|
1433
1457
|
};
|
1434
1458
|
}
|
1435
1459
|
}, []);
|
1436
|
-
(0,
|
1460
|
+
(0, import_react9.useEffect)(() => {
|
1437
1461
|
if (size > 600) {
|
1438
1462
|
setOpenSideMenu(keepOpen);
|
1439
1463
|
} else {
|
1440
1464
|
setOpenSideMenu(false);
|
1441
1465
|
}
|
1442
1466
|
}, [size]);
|
1443
|
-
(0,
|
1444
|
-
const handleClickOutside = (event) => {
|
1445
|
-
if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
|
1446
|
-
setOpenSideMenu(false);
|
1447
|
-
}
|
1448
|
-
};
|
1449
|
-
document.addEventListener("click", handleClickOutside, true);
|
1450
|
-
return () => {
|
1451
|
-
document.removeEventListener("click", handleClickOutside, true);
|
1452
|
-
};
|
1453
|
-
}, [keepOpen]);
|
1454
|
-
return /* @__PURE__ */ import_react8.default.createElement("div", { className: "hawa-fixed hawa-left-0" }, props.topBar && /* @__PURE__ */ import_react8.default.createElement(
|
1467
|
+
return /* @__PURE__ */ import_react9.default.createElement("div", { className: "hawa-fixed hawa-left-0" }, props.topBar && /* @__PURE__ */ import_react9.default.createElement(
|
1455
1468
|
"div",
|
1456
1469
|
{
|
1457
1470
|
className: cn(
|
@@ -1460,7 +1473,7 @@ var AppLayout = ({
|
|
1460
1473
|
bordered && "hawa-border-b-[1px]"
|
1461
1474
|
)
|
1462
1475
|
},
|
1463
|
-
size > 600 ? /* @__PURE__ */
|
1476
|
+
size > 600 ? /* @__PURE__ */ import_react9.default.createElement(
|
1464
1477
|
"div",
|
1465
1478
|
{
|
1466
1479
|
className: cn(
|
@@ -1482,24 +1495,24 @@ var AppLayout = ({
|
|
1482
1495
|
props.pageTitle
|
1483
1496
|
) : (
|
1484
1497
|
// Mobile Drawer Menu Button
|
1485
|
-
/* @__PURE__ */
|
1498
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1486
1499
|
"div",
|
1487
1500
|
{
|
1488
1501
|
dir: direction,
|
1489
1502
|
className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
|
1490
1503
|
},
|
1491
|
-
/* @__PURE__ */
|
1504
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1492
1505
|
"div",
|
1493
1506
|
{
|
1494
1507
|
onClick: () => setOpenSideMenu(true),
|
1495
1508
|
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
1496
1509
|
},
|
1497
|
-
/* @__PURE__ */
|
1510
|
+
/* @__PURE__ */ import_react9.default.createElement(MenuIcon, null)
|
1498
1511
|
),
|
1499
|
-
props.pageTitle ? /* @__PURE__ */
|
1512
|
+
props.pageTitle ? /* @__PURE__ */ import_react9.default.createElement("div", { className: "hawa-text-sm" }, props.pageTitle) : /* @__PURE__ */ import_react9.default.createElement("div", null)
|
1500
1513
|
)
|
1501
1514
|
),
|
1502
|
-
/* @__PURE__ */
|
1515
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1503
1516
|
"div",
|
1504
1517
|
{
|
1505
1518
|
className: cn(
|
@@ -1507,16 +1520,16 @@ var AppLayout = ({
|
|
1507
1520
|
isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
1508
1521
|
)
|
1509
1522
|
},
|
1510
|
-
size > 600 ? /* @__PURE__ */
|
1523
|
+
size > 600 ? /* @__PURE__ */ import_react9.default.createElement(
|
1511
1524
|
"div",
|
1512
1525
|
{
|
1513
1526
|
className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
|
1514
1527
|
},
|
1515
|
-
/* @__PURE__ */
|
1528
|
+
/* @__PURE__ */ import_react9.default.createElement("div", { className: "hawa-font-bold" }, props.username),
|
1516
1529
|
" ",
|
1517
|
-
/* @__PURE__ */
|
1530
|
+
/* @__PURE__ */ import_react9.default.createElement("div", null, props.email)
|
1518
1531
|
) : null,
|
1519
|
-
/* @__PURE__ */
|
1532
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1520
1533
|
DropdownMenu,
|
1521
1534
|
{
|
1522
1535
|
LinkComponent: MenuLinkComponent,
|
@@ -1529,31 +1542,38 @@ var AppLayout = ({
|
|
1529
1542
|
direction: isRTL ? "rtl" : "ltr",
|
1530
1543
|
items: props.profileMenuItems || [],
|
1531
1544
|
onItemSelect: (e) => console.log("selecting item ", e),
|
1532
|
-
trigger: /* @__PURE__ */
|
1533
|
-
"
|
1545
|
+
trigger: /* @__PURE__ */ import_react9.default.createElement(
|
1546
|
+
"div",
|
1534
1547
|
{
|
1535
|
-
|
1536
|
-
className: "hawa-
|
1537
|
-
fill: "currentColor",
|
1538
|
-
viewBox: "0 0 20 20"
|
1548
|
+
onClick: onAvatarClick,
|
1549
|
+
className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600"
|
1539
1550
|
},
|
1540
|
-
/* @__PURE__ */
|
1541
|
-
"
|
1551
|
+
props.avatarImage ? /* @__PURE__ */ import_react9.default.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ import_react9.default.createElement(
|
1552
|
+
"svg",
|
1542
1553
|
{
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1554
|
+
"aria-label": "Avatar Icon",
|
1555
|
+
className: "hawa-absolute hawa--left-1 hawa-h-10 hawa-w-10 hawa-text-gray-400",
|
1556
|
+
fill: "currentColor",
|
1557
|
+
viewBox: "0 0 20 20"
|
1558
|
+
},
|
1559
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1560
|
+
"path",
|
1561
|
+
{
|
1562
|
+
fillRule: "evenodd",
|
1563
|
+
d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
|
1564
|
+
clipRule: "evenodd"
|
1565
|
+
}
|
1566
|
+
)
|
1547
1567
|
)
|
1548
|
-
)
|
1568
|
+
)
|
1549
1569
|
}
|
1550
1570
|
)
|
1551
1571
|
)
|
1552
|
-
), /* @__PURE__ */
|
1572
|
+
), /* @__PURE__ */ import_react9.default.createElement(
|
1553
1573
|
"div",
|
1554
1574
|
{
|
1555
1575
|
className: cn(
|
1556
|
-
"hawa-fixed hawa-z-0 hawa-flex hawa-flex-col hawa-justify-between hawa-overflow-x-clip hawa-transition-all",
|
1576
|
+
"hawa-fixed hawa-z-0 hawa-flex hawa-flex-col hawa-justify-between hawa-overflow-x-clip hawa-transition-all hawa-bg-blue-500",
|
1557
1577
|
isRTL ? "hawa-right-0 hawa-top-0 hawa-h-14" : "hawa-left-0 hawa-top-0 hawa-h-14",
|
1558
1578
|
"hawa-h-[calc(100dvh)]",
|
1559
1579
|
"hawa-bg-primary-foreground",
|
@@ -1579,7 +1599,7 @@ var AppLayout = ({
|
|
1579
1599
|
},
|
1580
1600
|
ref
|
1581
1601
|
},
|
1582
|
-
/* @__PURE__ */
|
1602
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1583
1603
|
"div",
|
1584
1604
|
{
|
1585
1605
|
onClick: props.onLogoClick,
|
@@ -1594,7 +1614,7 @@ var AppLayout = ({
|
|
1594
1614
|
}
|
1595
1615
|
},
|
1596
1616
|
openSideMenu && props.header && props.header,
|
1597
|
-
!props.header && /* @__PURE__ */
|
1617
|
+
!props.header && /* @__PURE__ */ import_react9.default.createElement(
|
1598
1618
|
"img",
|
1599
1619
|
{
|
1600
1620
|
className: cn(
|
@@ -1605,7 +1625,7 @@ var AppLayout = ({
|
|
1605
1625
|
src: props.logoLink
|
1606
1626
|
}
|
1607
1627
|
),
|
1608
|
-
size > 600 ? /* @__PURE__ */
|
1628
|
+
size > 600 ? /* @__PURE__ */ import_react9.default.createElement(
|
1609
1629
|
"img",
|
1610
1630
|
{
|
1611
1631
|
className: cn(
|
@@ -1618,7 +1638,7 @@ var AppLayout = ({
|
|
1618
1638
|
}
|
1619
1639
|
) : null
|
1620
1640
|
),
|
1621
|
-
/* @__PURE__ */
|
1641
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1622
1642
|
"div",
|
1623
1643
|
{
|
1624
1644
|
className: cn(
|
@@ -1629,7 +1649,7 @@ var AppLayout = ({
|
|
1629
1649
|
width: size > 600 ? `${openSideMenu ? openDrawerWidth : drawerSizeCondition}px` : `${openSideMenu ? openDrawerWidth : 0}px`
|
1630
1650
|
}
|
1631
1651
|
},
|
1632
|
-
/* @__PURE__ */
|
1652
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1633
1653
|
SidebarGroup,
|
1634
1654
|
{
|
1635
1655
|
direction,
|
@@ -1652,7 +1672,7 @@ var AppLayout = ({
|
|
1652
1672
|
}
|
1653
1673
|
)
|
1654
1674
|
),
|
1655
|
-
/* @__PURE__ */
|
1675
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1656
1676
|
"div",
|
1657
1677
|
{
|
1658
1678
|
className: cn(
|
@@ -1663,8 +1683,8 @@ var AppLayout = ({
|
|
1663
1683
|
width: size > 600 ? `${openSideMenu ? openDrawerWidth : 56}px` : `${openSideMenu ? openDrawerWidth : 0}px`
|
1664
1684
|
}
|
1665
1685
|
},
|
1666
|
-
DrawerFooterActions && openSideMenu ? /* @__PURE__ */
|
1667
|
-
size > 600 && openSideMenu ? /* @__PURE__ */
|
1686
|
+
DrawerFooterActions && openSideMenu ? /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, DrawerFooterActions) : null,
|
1687
|
+
size > 600 && openSideMenu ? /* @__PURE__ */ import_react9.default.createElement(
|
1668
1688
|
Tooltip,
|
1669
1689
|
{
|
1670
1690
|
side: "left",
|
@@ -1672,7 +1692,7 @@ var AppLayout = ({
|
|
1672
1692
|
content: keepOpen ? ((_a = props.texts) == null ? void 0 : _a.collapseSidebar) || "Collapse Sidebar" : ((_b = props.texts) == null ? void 0 : _b.expandSidebar) || "Expand Sidebar",
|
1673
1693
|
triggerProps: { asChild: true }
|
1674
1694
|
},
|
1675
|
-
/* @__PURE__ */
|
1695
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1676
1696
|
Button,
|
1677
1697
|
{
|
1678
1698
|
variant: "outline",
|
@@ -1685,7 +1705,7 @@ var AppLayout = ({
|
|
1685
1705
|
},
|
1686
1706
|
size: "smallIcon"
|
1687
1707
|
},
|
1688
|
-
/* @__PURE__ */
|
1708
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1689
1709
|
"svg",
|
1690
1710
|
{
|
1691
1711
|
className: cn(
|
@@ -1695,7 +1715,7 @@ var AppLayout = ({
|
|
1695
1715
|
fill: "currentColor",
|
1696
1716
|
viewBox: "0 0 20 20"
|
1697
1717
|
},
|
1698
|
-
/* @__PURE__ */
|
1718
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1699
1719
|
"path",
|
1700
1720
|
{
|
1701
1721
|
fillRule: "evenodd",
|
@@ -1707,7 +1727,7 @@ var AppLayout = ({
|
|
1707
1727
|
)
|
1708
1728
|
) : null
|
1709
1729
|
)
|
1710
|
-
), /* @__PURE__ */
|
1730
|
+
), /* @__PURE__ */ import_react9.default.createElement(
|
1711
1731
|
"div",
|
1712
1732
|
{
|
1713
1733
|
className: "hawa-fixed -hawa-z-10 hawa-overflow-y-auto hawa-transition-all",
|
@@ -1726,7 +1746,7 @@ var AppLayout = ({
|
|
1726
1746
|
props.children
|
1727
1747
|
));
|
1728
1748
|
};
|
1729
|
-
var MenuIcon = () => /* @__PURE__ */
|
1749
|
+
var MenuIcon = () => /* @__PURE__ */ import_react9.default.createElement(
|
1730
1750
|
"svg",
|
1731
1751
|
{
|
1732
1752
|
"aria-label": "Menu Button",
|
@@ -1738,7 +1758,7 @@ var MenuIcon = () => /* @__PURE__ */ import_react8.default.createElement(
|
|
1738
1758
|
height: "1.6em",
|
1739
1759
|
width: "1.6em"
|
1740
1760
|
},
|
1741
|
-
/* @__PURE__ */
|
1761
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
1742
1762
|
"path",
|
1743
1763
|
{
|
1744
1764
|
fillRule: "evenodd",
|
@@ -1749,11 +1769,11 @@ var MenuIcon = () => /* @__PURE__ */ import_react8.default.createElement(
|
|
1749
1769
|
);
|
1750
1770
|
|
1751
1771
|
// layout/appTopbar/AppTopbar.tsx
|
1752
|
-
var
|
1772
|
+
var import_react10 = __toESM(require("react"));
|
1753
1773
|
var AppTopbar = ({ ...props }) => {
|
1754
1774
|
const isRTL = props.direction === "ltr";
|
1755
1775
|
const size = 1200;
|
1756
|
-
return /* @__PURE__ */
|
1776
|
+
return /* @__PURE__ */ import_react10.default.createElement(
|
1757
1777
|
"div",
|
1758
1778
|
{
|
1759
1779
|
className: cn(
|
@@ -1761,24 +1781,24 @@ var AppTopbar = ({ ...props }) => {
|
|
1761
1781
|
isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
1762
1782
|
)
|
1763
1783
|
},
|
1764
|
-
size > 600 ? /* @__PURE__ */
|
1784
|
+
size > 600 ? /* @__PURE__ */ import_react10.default.createElement(
|
1765
1785
|
"div",
|
1766
1786
|
null,
|
1767
1787
|
"page title"
|
1768
1788
|
) : (
|
1769
1789
|
// Mobile Drawer Menu Button
|
1770
|
-
/* @__PURE__ */
|
1790
|
+
/* @__PURE__ */ import_react10.default.createElement(
|
1771
1791
|
"div",
|
1772
1792
|
{
|
1773
1793
|
dir: props.direction,
|
1774
1794
|
className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
|
1775
1795
|
},
|
1776
|
-
/* @__PURE__ */
|
1796
|
+
/* @__PURE__ */ import_react10.default.createElement(
|
1777
1797
|
"div",
|
1778
1798
|
{
|
1779
1799
|
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
1780
1800
|
},
|
1781
|
-
/* @__PURE__ */
|
1801
|
+
/* @__PURE__ */ import_react10.default.createElement(
|
1782
1802
|
"svg",
|
1783
1803
|
{
|
1784
1804
|
stroke: "currentColor",
|
@@ -1789,7 +1809,7 @@ var AppTopbar = ({ ...props }) => {
|
|
1789
1809
|
height: "1.6em",
|
1790
1810
|
width: "1.6em"
|
1791
1811
|
},
|
1792
|
-
/* @__PURE__ */
|
1812
|
+
/* @__PURE__ */ import_react10.default.createElement(
|
1793
1813
|
"path",
|
1794
1814
|
{
|
1795
1815
|
fillRule: "evenodd",
|
@@ -1802,7 +1822,7 @@ var AppTopbar = ({ ...props }) => {
|
|
1802
1822
|
"Mobile title"
|
1803
1823
|
)
|
1804
1824
|
),
|
1805
|
-
/* @__PURE__ */
|
1825
|
+
/* @__PURE__ */ import_react10.default.createElement(
|
1806
1826
|
"div",
|
1807
1827
|
{
|
1808
1828
|
className: cn(
|
@@ -1810,16 +1830,16 @@ var AppTopbar = ({ ...props }) => {
|
|
1810
1830
|
isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
1811
1831
|
)
|
1812
1832
|
},
|
1813
|
-
size > 600 ? /* @__PURE__ */
|
1833
|
+
size > 600 ? /* @__PURE__ */ import_react10.default.createElement(
|
1814
1834
|
"div",
|
1815
1835
|
{
|
1816
1836
|
className: isRTL ? "hawa-text-left hawa-text-xs" : "hawa-text-right hawa-text-xs"
|
1817
1837
|
},
|
1818
|
-
/* @__PURE__ */
|
1838
|
+
/* @__PURE__ */ import_react10.default.createElement("div", { className: "hawa-font-bold" }, props.username),
|
1819
1839
|
" ",
|
1820
|
-
/* @__PURE__ */
|
1840
|
+
/* @__PURE__ */ import_react10.default.createElement("div", null, props.email)
|
1821
1841
|
) : null,
|
1822
|
-
/* @__PURE__ */
|
1842
|
+
/* @__PURE__ */ import_react10.default.createElement(
|
1823
1843
|
DropdownMenu,
|
1824
1844
|
{
|
1825
1845
|
triggerClassname: "hawa-mx-2",
|
@@ -1830,7 +1850,7 @@ var AppTopbar = ({ ...props }) => {
|
|
1830
1850
|
direction: isRTL ? "rtl" : "ltr",
|
1831
1851
|
items: props.profileMenuItems || [],
|
1832
1852
|
onItemSelect: (e) => console.log("selecting item ", e),
|
1833
|
-
trigger: /* @__PURE__ */
|
1853
|
+
trigger: /* @__PURE__ */ import_react10.default.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ import_react10.default.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ import_react10.default.createElement(
|
1834
1854
|
"svg",
|
1835
1855
|
{
|
1836
1856
|
"aria-label": "Avatar Icon",
|
@@ -1838,7 +1858,7 @@ var AppTopbar = ({ ...props }) => {
|
|
1838
1858
|
fill: "currentColor",
|
1839
1859
|
viewBox: "0 0 20 20"
|
1840
1860
|
},
|
1841
|
-
/* @__PURE__ */
|
1861
|
+
/* @__PURE__ */ import_react10.default.createElement(
|
1842
1862
|
"path",
|
1843
1863
|
{
|
1844
1864
|
fillRule: "evenodd",
|
@@ -1854,14 +1874,14 @@ var AppTopbar = ({ ...props }) => {
|
|
1854
1874
|
};
|
1855
1875
|
|
1856
1876
|
// layout/appMenubar/AppMenubar.tsx
|
1857
|
-
var
|
1877
|
+
var React15 = __toESM(require("react"));
|
1858
1878
|
var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"));
|
1859
1879
|
var MenubarMenu = MenubarPrimitive.Menu;
|
1860
1880
|
var MenubarGroup = MenubarPrimitive.Group;
|
1861
1881
|
var MenubarPortal = MenubarPrimitive.Portal;
|
1862
1882
|
var MenubarSub = MenubarPrimitive.Sub;
|
1863
1883
|
var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
|
1864
|
-
var Menubar =
|
1884
|
+
var Menubar = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
1865
1885
|
MenubarPrimitive.Root,
|
1866
1886
|
{
|
1867
1887
|
ref,
|
@@ -1873,7 +1893,7 @@ var Menubar = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
1873
1893
|
}
|
1874
1894
|
));
|
1875
1895
|
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
1876
|
-
var MenubarTrigger =
|
1896
|
+
var MenubarTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
1877
1897
|
MenubarPrimitive.Trigger,
|
1878
1898
|
{
|
1879
1899
|
ref,
|
@@ -1885,7 +1905,7 @@ var MenubarTrigger = React14.forwardRef(({ className, ...props }, ref) => /* @__
|
|
1885
1905
|
}
|
1886
1906
|
));
|
1887
1907
|
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
1888
|
-
var MenubarSubTrigger =
|
1908
|
+
var MenubarSubTrigger = React15.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
1889
1909
|
MenubarPrimitive.SubTrigger,
|
1890
1910
|
{
|
1891
1911
|
ref,
|
@@ -1897,7 +1917,7 @@ var MenubarSubTrigger = React14.forwardRef(({ className, inset, children, ...pro
|
|
1897
1917
|
...props
|
1898
1918
|
},
|
1899
1919
|
children,
|
1900
|
-
/* @__PURE__ */
|
1920
|
+
/* @__PURE__ */ React15.createElement(
|
1901
1921
|
"svg",
|
1902
1922
|
{
|
1903
1923
|
"aria-label": "Chevron Right Icon",
|
@@ -1912,11 +1932,11 @@ var MenubarSubTrigger = React14.forwardRef(({ className, inset, children, ...pro
|
|
1912
1932
|
strokeLinejoin: "round",
|
1913
1933
|
className: "hawa-icon hawa-ml-auto"
|
1914
1934
|
},
|
1915
|
-
/* @__PURE__ */
|
1935
|
+
/* @__PURE__ */ React15.createElement("path", { d: "m9 18 6-6-6-6" })
|
1916
1936
|
)
|
1917
1937
|
));
|
1918
1938
|
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
1919
|
-
var MenubarSubContent =
|
1939
|
+
var MenubarSubContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
1920
1940
|
MenubarPrimitive.SubContent,
|
1921
1941
|
{
|
1922
1942
|
ref,
|
@@ -1928,8 +1948,8 @@ var MenubarSubContent = React14.forwardRef(({ className, ...props }, ref) => /*
|
|
1928
1948
|
}
|
1929
1949
|
));
|
1930
1950
|
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
1931
|
-
var MenubarContent =
|
1932
|
-
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */
|
1951
|
+
var MenubarContent = React15.forwardRef(
|
1952
|
+
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ React15.createElement(MenubarPrimitive.Portal, null, /* @__PURE__ */ React15.createElement(
|
1933
1953
|
MenubarPrimitive.Content,
|
1934
1954
|
{
|
1935
1955
|
ref,
|
@@ -1945,7 +1965,7 @@ var MenubarContent = React14.forwardRef(
|
|
1945
1965
|
))
|
1946
1966
|
);
|
1947
1967
|
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
1948
|
-
var MenubarItem =
|
1968
|
+
var MenubarItem = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
1949
1969
|
MenubarPrimitive.Item,
|
1950
1970
|
{
|
1951
1971
|
ref,
|
@@ -1958,7 +1978,7 @@ var MenubarItem = React14.forwardRef(({ className, inset, ...props }, ref) => /*
|
|
1958
1978
|
}
|
1959
1979
|
));
|
1960
1980
|
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
1961
|
-
var MenubarCheckboxItem =
|
1981
|
+
var MenubarCheckboxItem = React15.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
1962
1982
|
MenubarPrimitive.CheckboxItem,
|
1963
1983
|
{
|
1964
1984
|
ref,
|
@@ -1969,7 +1989,7 @@ var MenubarCheckboxItem = React14.forwardRef(({ className, children, checked, ..
|
|
1969
1989
|
checked,
|
1970
1990
|
...props
|
1971
1991
|
},
|
1972
|
-
/* @__PURE__ */
|
1992
|
+
/* @__PURE__ */ React15.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React15.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React15.createElement(
|
1973
1993
|
"svg",
|
1974
1994
|
{
|
1975
1995
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -1983,12 +2003,12 @@ var MenubarCheckboxItem = React14.forwardRef(({ className, children, checked, ..
|
|
1983
2003
|
strokeLinejoin: "round",
|
1984
2004
|
className: "hawa-icon"
|
1985
2005
|
},
|
1986
|
-
/* @__PURE__ */
|
2006
|
+
/* @__PURE__ */ React15.createElement("path", { d: "M20 6 9 17l-5-5" })
|
1987
2007
|
))),
|
1988
2008
|
children
|
1989
2009
|
));
|
1990
2010
|
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
1991
|
-
var MenubarRadioItem =
|
2011
|
+
var MenubarRadioItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
1992
2012
|
MenubarPrimitive.RadioItem,
|
1993
2013
|
{
|
1994
2014
|
ref,
|
@@ -1998,7 +2018,7 @@ var MenubarRadioItem = React14.forwardRef(({ className, children, ...props }, re
|
|
1998
2018
|
),
|
1999
2019
|
...props
|
2000
2020
|
},
|
2001
|
-
/* @__PURE__ */
|
2021
|
+
/* @__PURE__ */ React15.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React15.createElement(MenubarPrimitive.ItemIndicator, null, /* @__PURE__ */ React15.createElement(
|
2002
2022
|
"svg",
|
2003
2023
|
{
|
2004
2024
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2012,12 +2032,12 @@ var MenubarRadioItem = React14.forwardRef(({ className, children, ...props }, re
|
|
2012
2032
|
strokeLinejoin: "round",
|
2013
2033
|
className: "hawa-h-2 hawa-w-2 hawa-fill-current"
|
2014
2034
|
},
|
2015
|
-
/* @__PURE__ */
|
2035
|
+
/* @__PURE__ */ React15.createElement("circle", { cx: "12", cy: "12", r: "10" })
|
2016
2036
|
))),
|
2017
2037
|
children
|
2018
2038
|
));
|
2019
2039
|
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
2020
|
-
var MenubarLabel =
|
2040
|
+
var MenubarLabel = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
2021
2041
|
MenubarPrimitive.Label,
|
2022
2042
|
{
|
2023
2043
|
ref,
|
@@ -2030,7 +2050,7 @@ var MenubarLabel = React14.forwardRef(({ className, inset, ...props }, ref) => /
|
|
2030
2050
|
}
|
2031
2051
|
));
|
2032
2052
|
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
2033
|
-
var MenubarSeparator =
|
2053
|
+
var MenubarSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React15.createElement(
|
2034
2054
|
MenubarPrimitive.Separator,
|
2035
2055
|
{
|
2036
2056
|
ref,
|
@@ -2043,7 +2063,7 @@ var MenubarShortcut = ({
|
|
2043
2063
|
className,
|
2044
2064
|
...props
|
2045
2065
|
}) => {
|
2046
|
-
return /* @__PURE__ */
|
2066
|
+
return /* @__PURE__ */ React15.createElement(
|
2047
2067
|
"span",
|
2048
2068
|
{
|
2049
2069
|
className: cn(
|
@@ -2057,10 +2077,10 @@ var MenubarShortcut = ({
|
|
2057
2077
|
MenubarShortcut.displayname = "MenubarShortcut";
|
2058
2078
|
|
2059
2079
|
// layout/appTabs/AppTabs.tsx
|
2060
|
-
var
|
2080
|
+
var import_react11 = __toESM(require("react"));
|
2061
2081
|
var AppTabs = ({ tabs, className }) => {
|
2062
|
-
const [selectedIndex, setSelectedIndex] = (0,
|
2063
|
-
return /* @__PURE__ */
|
2082
|
+
const [selectedIndex, setSelectedIndex] = (0, import_react11.useState)(0);
|
2083
|
+
return /* @__PURE__ */ import_react11.default.createElement(
|
2064
2084
|
"div",
|
2065
2085
|
{
|
2066
2086
|
className: cn(
|
@@ -2068,9 +2088,9 @@ var AppTabs = ({ tabs, className }) => {
|
|
2068
2088
|
className
|
2069
2089
|
)
|
2070
2090
|
},
|
2071
|
-
/* @__PURE__ */
|
2091
|
+
/* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center " }, tabs.map((tab, index) => {
|
2072
2092
|
const selected = index === selectedIndex;
|
2073
|
-
return /* @__PURE__ */
|
2093
|
+
return /* @__PURE__ */ import_react11.default.createElement(
|
2074
2094
|
"a",
|
2075
2095
|
{
|
2076
2096
|
href: tab.path,
|
@@ -2101,12 +2121,12 @@ var AppTabs = ({ tabs, className }) => {
|
|
2101
2121
|
};
|
2102
2122
|
|
2103
2123
|
// layout/docsLayout/DocsLayout.tsx
|
2104
|
-
var
|
2124
|
+
var import_react15 = __toESM(require("react"));
|
2105
2125
|
|
2106
2126
|
// elements/logos/Logos.tsx
|
2107
|
-
var
|
2127
|
+
var import_react12 = __toESM(require("react"));
|
2108
2128
|
var Logos = {
|
2109
|
-
metamask: (props) => /* @__PURE__ */
|
2129
|
+
metamask: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2110
2130
|
"svg",
|
2111
2131
|
{
|
2112
2132
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2117,8 +2137,8 @@ var Logos = {
|
|
2117
2137
|
viewBox: "0 0 318.6 318.6",
|
2118
2138
|
...props
|
2119
2139
|
},
|
2120
|
-
/* @__PURE__ */
|
2121
|
-
/* @__PURE__ */
|
2140
|
+
/* @__PURE__ */ import_react12.default.createElement("style", null, ".st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}"),
|
2141
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2122
2142
|
"path",
|
2123
2143
|
{
|
2124
2144
|
fill: "#e2761b",
|
@@ -2128,21 +2148,21 @@ var Logos = {
|
|
2128
2148
|
d: "m274.1 35.5-99.5 73.9L193 65.8z"
|
2129
2149
|
}
|
2130
2150
|
),
|
2131
|
-
/* @__PURE__ */
|
2151
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2132
2152
|
"path",
|
2133
2153
|
{
|
2134
2154
|
d: "m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z",
|
2135
2155
|
className: "st1"
|
2136
2156
|
}
|
2137
2157
|
),
|
2138
|
-
/* @__PURE__ */
|
2158
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2139
2159
|
"path",
|
2140
2160
|
{
|
2141
2161
|
d: "m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z",
|
2142
2162
|
className: "st1"
|
2143
2163
|
}
|
2144
2164
|
),
|
2145
|
-
/* @__PURE__ */
|
2165
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2146
2166
|
"path",
|
2147
2167
|
{
|
2148
2168
|
fill: "#d7c1b3",
|
@@ -2152,7 +2172,7 @@ var Logos = {
|
|
2152
2172
|
d: "m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"
|
2153
2173
|
}
|
2154
2174
|
),
|
2155
|
-
/* @__PURE__ */
|
2175
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2156
2176
|
"path",
|
2157
2177
|
{
|
2158
2178
|
fill: "#233447",
|
@@ -2162,7 +2182,7 @@ var Logos = {
|
|
2162
2182
|
d: "m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"
|
2163
2183
|
}
|
2164
2184
|
),
|
2165
|
-
/* @__PURE__ */
|
2185
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2166
2186
|
"path",
|
2167
2187
|
{
|
2168
2188
|
fill: "#cd6116",
|
@@ -2172,7 +2192,7 @@ var Logos = {
|
|
2172
2192
|
d: "m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"
|
2173
2193
|
}
|
2174
2194
|
),
|
2175
|
-
/* @__PURE__ */
|
2195
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2176
2196
|
"path",
|
2177
2197
|
{
|
2178
2198
|
fill: "#e4751f",
|
@@ -2182,14 +2202,14 @@ var Logos = {
|
|
2182
2202
|
d: "m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"
|
2183
2203
|
}
|
2184
2204
|
),
|
2185
|
-
/* @__PURE__ */
|
2205
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2186
2206
|
"path",
|
2187
2207
|
{
|
2188
2208
|
d: "m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z",
|
2189
2209
|
className: "st6"
|
2190
2210
|
}
|
2191
2211
|
),
|
2192
|
-
/* @__PURE__ */
|
2212
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2193
2213
|
"path",
|
2194
2214
|
{
|
2195
2215
|
fill: "#c0ad9e",
|
@@ -2199,7 +2219,7 @@ var Logos = {
|
|
2199
2219
|
d: "m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"
|
2200
2220
|
}
|
2201
2221
|
),
|
2202
|
-
/* @__PURE__ */
|
2222
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2203
2223
|
"path",
|
2204
2224
|
{
|
2205
2225
|
fill: "#161616",
|
@@ -2209,7 +2229,7 @@ var Logos = {
|
|
2209
2229
|
d: "m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"
|
2210
2230
|
}
|
2211
2231
|
),
|
2212
|
-
/* @__PURE__ */
|
2232
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2213
2233
|
"path",
|
2214
2234
|
{
|
2215
2235
|
fill: "#763d16",
|
@@ -2219,7 +2239,7 @@ var Logos = {
|
|
2219
2239
|
d: "m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"
|
2220
2240
|
}
|
2221
2241
|
),
|
2222
|
-
/* @__PURE__ */
|
2242
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2223
2243
|
"path",
|
2224
2244
|
{
|
2225
2245
|
d: "m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h46.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z",
|
@@ -2227,7 +2247,7 @@ var Logos = {
|
|
2227
2247
|
}
|
2228
2248
|
)
|
2229
2249
|
),
|
2230
|
-
nafath: (props) => /* @__PURE__ */
|
2250
|
+
nafath: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2231
2251
|
"svg",
|
2232
2252
|
{
|
2233
2253
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2238,15 +2258,15 @@ var Logos = {
|
|
2238
2258
|
viewBox: "22.5 44.5 535.6 230.34",
|
2239
2259
|
...props
|
2240
2260
|
},
|
2241
|
-
/* @__PURE__ */
|
2242
|
-
/* @__PURE__ */
|
2261
|
+
/* @__PURE__ */ import_react12.default.createElement("style", null, ".st0{fill:#0a9a8f}"),
|
2262
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2243
2263
|
"path",
|
2244
2264
|
{
|
2245
2265
|
d: "M426.1 233.8c1.5.2 2.4.4 3.3.4 21.3 0 42.7.1 64-.1 12.7-.1 20-6.8 20.4-19.4.6-21 .6-42 .6-63 0-3.9 1.1-6.1 4.7-7.9 10.9-5.4 21.5-11.2 32.3-16.8 1.3-.7 2.7-1.3 4.5-2.1.1 1.4.3 2.4.3 3.5 0 29.1.5 58.2-.2 87.3-.5 21.8-9.4 39.7-29.1 51-10.1 5.8-21.3 7.9-32.7 7.9-32.1.2-64.1.2-96.2 0-8.2-.1-16.4-1.8-24.6-2.1-5.5-.2-11 1.1-16.6 1.4-9.3.4-18.7.7-28 .8-26.3.1-52.6.3-78.9-.1-7.8-.1-15.9-1.2-23.4-3.4-22.7-7-34.9-23.3-38.8-46.2-.8-4.9-1-9.9-1-14.9-.1-42.5 0-85-.1-127.5 0-3.6.9-5.6 4.2-7.2 11-5.5 21.8-11.3 32.7-16.9 1.3-.7 2.7-1.3 4.8-2.3v149c0 3.7.2 7.5.7 11.2 1.5 11.1 7.6 17.5 18.7 17.7 22.6.4 45.1.1 67.7.1.4 0 .9-.3 1.9-.6-1-2-1.9-3.9-2.9-5.7-16-27.8-11.5-65.2 7-87.2 11-13.2 25.3-20.4 42.3-21.9 17.3-1.5 33.9.9 48.1 12.1 15.4 12.1 23.3 28.3 25.8 47.5 2.6 19.1-.9 36.8-10.8 53.3-.1.3-.2.9-.7 2.1zm-27.4-48.1c-.8-3.2-1.5-9.2-3.9-14.4-4.9-10.6-13.9-14.9-25.5-14.3-10.4.6-17.9 5.9-21.5 15.7-7.4 19.7 1.5 44.7 19.4 55.5 3.2 1.9 5.8 2 8.9-.1 14.2-9.4 21.9-22.5 22.6-42.4zM78.7 155.1c6.8-11.7 13.6-23.2 20.5-35 13.5 8.1 25.5 17.4 35.1 29.4 18.1 22.4 24.3 48.2 21.3 76.5-.7 6.9-2.2 13.9-4.6 20.4-6 16.6-18.8 26.3-35.8 27.1-30.6 1.4-61.2.8-91.9 1.1-.1 0-.3-.1-.8-.4.4-1 .7-2.2 1.2-3.2 5.7-11 11.6-22 17.2-33.1 1.4-2.7 3-3.7 6.1-3.7 15.4.2 30.8-.4 46.2.2 18.1.7 21.6-10.1 21.2-23-.7-23.6-12.1-40.9-31.6-53.4-1.1-.9-2.4-1.8-4.1-2.9zM536.2 44.5c13.4 0 21.9 8.4 21.9 21.7 0 14.4-7.4 22.1-21.5 22.3-13.4.2-22-8.4-22.1-22.1 0-13.3 8.4-21.9 21.7-21.9zM121.1 66.4c0 14.8-7.3 22.3-21.5 22.1-13.5-.2-22-9-21.9-22.5.2-13.2 8.8-21.5 22.3-21.5 13.2.1 21.1 8.3 21.1 21.9z",
|
2246
2266
|
className: "st0"
|
2247
2267
|
}
|
2248
2268
|
),
|
2249
|
-
/* @__PURE__ */
|
2269
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2250
2270
|
"path",
|
2251
2271
|
{
|
2252
2272
|
d: "M393 71.1c-.1 14.7-6.8 21.6-21.3 21.6-13.9 0-21.9-8.1-21.9-22.1 0-13.7 8.3-21.6 22.4-21.5 13.3.1 20.8 8.2 20.8 22z",
|
@@ -2254,7 +2274,7 @@ var Logos = {
|
|
2254
2274
|
}
|
2255
2275
|
)
|
2256
2276
|
),
|
2257
|
-
hawa: (props) => /* @__PURE__ */
|
2277
|
+
hawa: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2258
2278
|
"svg",
|
2259
2279
|
{
|
2260
2280
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2262,7 +2282,7 @@ var Logos = {
|
|
2262
2282
|
viewBox: "0 0 765 765",
|
2263
2283
|
...props
|
2264
2284
|
},
|
2265
|
-
/* @__PURE__ */
|
2285
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2266
2286
|
"path",
|
2267
2287
|
{
|
2268
2288
|
d: "M382.5 0C171.6 0 0 171.6 0 382.5V765h382.5C593.4 765 765 593.4 765 382.5S593.4 0 382.5 0zM281.6 305.7c98 0 177.7 79.7 177.7 177.7 0 98-79.7 177.7-177.7 177.7s-177.7-79.7-177.7-177.7c0-98 79.7-177.7 177.7-177.7zm246 314.5c23.2-41.6 35.6-88.7 35.6-136.7 0-155.3-126.3-281.6-281.6-281.6-48 0-95.1 12.4-136.8 35.6C194.9 156 285 104 382.5 104c153.6 0 278.6 125 278.6 278.6 0 97.3-52 187.5-133.5 237.6z",
|
@@ -2270,7 +2290,7 @@ var Logos = {
|
|
2270
2290
|
}
|
2271
2291
|
)
|
2272
2292
|
),
|
2273
|
-
sikka: (props) => /* @__PURE__ */
|
2293
|
+
sikka: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2274
2294
|
"svg",
|
2275
2295
|
{
|
2276
2296
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2280,11 +2300,11 @@ var Logos = {
|
|
2280
2300
|
fill: "currentColor",
|
2281
2301
|
...props
|
2282
2302
|
},
|
2283
|
-
/* @__PURE__ */
|
2284
|
-
/* @__PURE__ */
|
2285
|
-
/* @__PURE__ */
|
2303
|
+
/* @__PURE__ */ import_react12.default.createElement("defs", null, /* @__PURE__ */ import_react12.default.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
2304
|
+
/* @__PURE__ */ import_react12.default.createElement("clipPath", { id: "b" }, /* @__PURE__ */ import_react12.default.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
2305
|
+
/* @__PURE__ */ import_react12.default.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ import_react12.default.createElement("defs", null, /* @__PURE__ */ import_react12.default.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ import_react12.default.createElement("clipPath", { id: "d" }, /* @__PURE__ */ import_react12.default.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ import_react12.default.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ import_react12.default.createElement("path", { d: "M458.3 0h-31.9c-14.6 0-26.5 11.9-26.5 26.3v313.3L136.6 17.1C126 3.9 120.7 0 106.1 0H9.7C.5 0 0 7.9 0 17.1 0 21 1.3 26.3 4 29l288.7 353.6L4 736.1c-2.7 2.7-4 7.9-4 11.8 0 9.2.4 17.1 9.7 17.1h96.4c14.6 0 19.9-3.9 30.5-17.1l263.3-322.5v313.3c0 14.4 11.9 26.3 26.5 26.3h31.9M458.3 765h31.9c14.6 0 26.5-11.8 26.5-26.3V425.5L780 748c10.7 13.2 15.9 17.1 30.5 17.1h96.4c9.2 0 9.7-7.9 9.7-17.1 0-3.9-1.3-9.2-4-11.8L623.8 382.5 912.5 28.9c2.7-2.7 4-7.9 4-11.9 0-9.2-.5-17.1-9.7-17.1h-96.4c-14.6 0-19.9 3.9-30.5 17.1L516.7 339.5V26.3c0-14.4-11.9-26.3-26.5-26.3h-31.9" })))
|
2286
2306
|
),
|
2287
|
-
mail: (props) => /* @__PURE__ */
|
2307
|
+
mail: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2288
2308
|
"svg",
|
2289
2309
|
{
|
2290
2310
|
stroke: "currentColor",
|
@@ -2296,10 +2316,10 @@ var Logos = {
|
|
2296
2316
|
xmlns: "http://www.w3.org/2000/svg",
|
2297
2317
|
...props
|
2298
2318
|
},
|
2299
|
-
/* @__PURE__ */
|
2300
|
-
/* @__PURE__ */
|
2319
|
+
/* @__PURE__ */ import_react12.default.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
|
2320
|
+
/* @__PURE__ */ import_react12.default.createElement("polyline", { points: "22,6 12,13 2,6" })
|
2301
2321
|
),
|
2302
|
-
phone: (props) => /* @__PURE__ */
|
2322
|
+
phone: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2303
2323
|
"svg",
|
2304
2324
|
{
|
2305
2325
|
stroke: "currentColor",
|
@@ -2310,7 +2330,7 @@ var Logos = {
|
|
2310
2330
|
xmlns: "http://www.w3.org/2000/svg",
|
2311
2331
|
...props
|
2312
2332
|
},
|
2313
|
-
/* @__PURE__ */
|
2333
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2314
2334
|
"path",
|
2315
2335
|
{
|
2316
2336
|
strokeLinecap: "round",
|
@@ -2319,14 +2339,14 @@ var Logos = {
|
|
2319
2339
|
}
|
2320
2340
|
)
|
2321
2341
|
),
|
2322
|
-
twitter: (props) => /* @__PURE__ */
|
2342
|
+
twitter: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2323
2343
|
"path",
|
2324
2344
|
{
|
2325
2345
|
fill: "currentColor",
|
2326
2346
|
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"
|
2327
2347
|
}
|
2328
2348
|
)),
|
2329
|
-
instagram: (props) => /* @__PURE__ */
|
2349
|
+
instagram: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2330
2350
|
"svg",
|
2331
2351
|
{
|
2332
2352
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2334,23 +2354,23 @@ var Logos = {
|
|
2334
2354
|
viewBox: "0 0 16 16",
|
2335
2355
|
...props
|
2336
2356
|
},
|
2337
|
-
/* @__PURE__ */
|
2357
|
+
/* @__PURE__ */ import_react12.default.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })
|
2338
2358
|
),
|
2339
|
-
microsoft: (props) => /* @__PURE__ */
|
2359
|
+
microsoft: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2340
2360
|
"path",
|
2341
2361
|
{
|
2342
2362
|
fill: "currentColor",
|
2343
2363
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
2344
2364
|
}
|
2345
2365
|
)),
|
2346
|
-
github: (props) => /* @__PURE__ */
|
2366
|
+
github: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2347
2367
|
"svg",
|
2348
2368
|
{
|
2349
2369
|
xmlns: "http://www.w3.org/2000/svg",
|
2350
2370
|
viewBox: "0 0 438.549 438.549",
|
2351
2371
|
...props
|
2352
2372
|
},
|
2353
|
-
/* @__PURE__ */
|
2373
|
+
/* @__PURE__ */ import_react12.default.createElement(
|
2354
2374
|
"path",
|
2355
2375
|
{
|
2356
2376
|
fill: "currentColor",
|
@@ -2358,77 +2378,77 @@ var Logos = {
|
|
2358
2378
|
}
|
2359
2379
|
)
|
2360
2380
|
),
|
2361
|
-
radix: (props) => /* @__PURE__ */
|
2381
|
+
radix: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2362
2382
|
"path",
|
2363
2383
|
{
|
2364
2384
|
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
2365
2385
|
fill: "currentcolor"
|
2366
2386
|
}
|
2367
|
-
), /* @__PURE__ */
|
2387
|
+
), /* @__PURE__ */ import_react12.default.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ import_react12.default.createElement(
|
2368
2388
|
"path",
|
2369
2389
|
{
|
2370
2390
|
d: "M17 8C19.2091 8 21 6.20914 21 4C21 1.79086 19.2091 0 17 0C14.7909 0 13 1.79086 13 4C13 6.20914 14.7909 8 17 8Z",
|
2371
2391
|
fill: "currentcolor"
|
2372
2392
|
}
|
2373
2393
|
)),
|
2374
|
-
aria: (props) => /* @__PURE__ */
|
2375
|
-
npm: (props) => /* @__PURE__ */
|
2394
|
+
aria: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react12.default.createElement("path", { d: "M13.966 22.624l-1.69-4.281H8.122l3.892-9.144 5.662 13.425zM8.884 1.376H0v21.248zm15.116 0h-8.884L24 22.624Z" })),
|
2395
|
+
npm: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2376
2396
|
"path",
|
2377
2397
|
{
|
2378
2398
|
d: "M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",
|
2379
2399
|
fill: "currentColor"
|
2380
2400
|
}
|
2381
2401
|
)),
|
2382
|
-
yarn: (props) => /* @__PURE__ */
|
2402
|
+
yarn: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2383
2403
|
"path",
|
2384
2404
|
{
|
2385
2405
|
d: "M12 0C5.375 0 0 5.375 0 12s5.375 12 12 12 12-5.375 12-12S18.625 0 12 0zm.768 4.105c.183 0 .363.053.525.157.125.083.287.185.755 1.154.31-.088.468-.042.551-.019.204.056.366.19.463.375.477.917.542 2.553.334 3.605-.241 1.232-.755 2.029-1.131 2.576.324.329.778.899 1.117 1.825.278.774.31 1.478.273 2.015a5.51 5.51 0 0 0 .602-.329c.593-.366 1.487-.917 2.553-.931.714-.009 1.269.445 1.353 1.103a1.23 1.23 0 0 1-.945 1.362c-.649.158-.95.278-1.821.843-1.232.797-2.539 1.242-3.012 1.39a1.686 1.686 0 0 1-.704.343c-.737.181-3.266.315-3.466.315h-.046c-.783 0-1.214-.241-1.45-.491-.658.329-1.51.19-2.122-.134a1.078 1.078 0 0 1-.58-1.153 1.243 1.243 0 0 1-.153-.195c-.162-.25-.528-.936-.454-1.946.056-.723.556-1.367.88-1.71a5.522 5.522 0 0 1 .408-2.256c.306-.727.885-1.348 1.32-1.737-.32-.537-.644-1.367-.329-2.21.227-.602.412-.936.82-1.08h-.005c.199-.074.389-.153.486-.259a3.418 3.418 0 0 1 2.298-1.103c.037-.093.079-.185.125-.283.31-.658.639-1.029 1.024-1.168a.94.94 0 0 1 .328-.06zm.006.7c-.507.016-1.001 1.519-1.001 1.519s-1.27-.204-2.266.871c-.199.218-.468.334-.746.44-.079.028-.176.023-.417.672-.371.991.625 2.094.625 2.094s-1.186.839-1.626 1.881c-.486 1.144-.338 2.261-.338 2.261s-.843.732-.899 1.487c-.051.663.139 1.2.343 1.515.227.343.51.176.51.176s-.561.653-.037.931c.477.25 1.283.394 1.71-.037.31-.31.371-1.001.486-1.283.028-.065.12.111.209.199.097.093.264.195.264.195s-.755.324-.445 1.066c.102.246.468.403 1.066.398.222-.005 2.664-.139 3.313-.296.375-.088.505-.283.505-.283s1.566-.431 2.998-1.357c.917-.598 1.293-.76 2.034-.936.612-.148.57-1.098-.241-1.084-.839.009-1.575.44-2.196.825-1.163.718-1.742.672-1.742.672l-.018-.032c-.079-.13.371-1.293-.134-2.678-.547-1.515-1.413-1.881-1.344-1.997.297-.5 1.038-1.297 1.334-2.78.176-.899.13-2.377-.269-3.151-.074-.144-.732.241-.732.241s-.616-1.371-.788-1.483a.271.271 0 0 0-.157-.046z",
|
2386
2406
|
fill: "currentColor"
|
2387
2407
|
}
|
2388
2408
|
)),
|
2389
|
-
pnpm: (props) => /* @__PURE__ */
|
2409
|
+
pnpm: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2390
2410
|
"path",
|
2391
2411
|
{
|
2392
2412
|
d: "M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z",
|
2393
2413
|
fill: "currentColor"
|
2394
2414
|
}
|
2395
2415
|
)),
|
2396
|
-
react: (props) => /* @__PURE__ */
|
2416
|
+
react: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2397
2417
|
"path",
|
2398
2418
|
{
|
2399
2419
|
d: "M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z",
|
2400
2420
|
fill: "currentColor"
|
2401
2421
|
}
|
2402
2422
|
)),
|
2403
|
-
tailwind: (props) => /* @__PURE__ */
|
2423
|
+
tailwind: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2404
2424
|
"path",
|
2405
2425
|
{
|
2406
2426
|
d: "M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z",
|
2407
2427
|
fill: "currentColor"
|
2408
2428
|
}
|
2409
2429
|
)),
|
2410
|
-
google: (props) => /* @__PURE__ */
|
2430
|
+
google: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2411
2431
|
"path",
|
2412
2432
|
{
|
2413
2433
|
fill: "currentColor",
|
2414
2434
|
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"
|
2415
2435
|
}
|
2416
2436
|
)),
|
2417
|
-
apple: (props) => /* @__PURE__ */
|
2437
|
+
apple: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2418
2438
|
"path",
|
2419
2439
|
{
|
2420
2440
|
d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
|
2421
2441
|
fill: "currentColor"
|
2422
2442
|
}
|
2423
2443
|
)),
|
2424
|
-
paypal: (props) => /* @__PURE__ */
|
2444
|
+
paypal: (props) => /* @__PURE__ */ import_react12.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react12.default.createElement(
|
2425
2445
|
"path",
|
2426
2446
|
{
|
2427
2447
|
d: "M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z",
|
2428
2448
|
fill: "currentColor"
|
2429
2449
|
}
|
2430
2450
|
)),
|
2431
|
-
spinner: (props) => /* @__PURE__ */
|
2451
|
+
spinner: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2432
2452
|
"svg",
|
2433
2453
|
{
|
2434
2454
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2442,9 +2462,9 @@ var Logos = {
|
|
2442
2462
|
strokeLinejoin: "round",
|
2443
2463
|
...props
|
2444
2464
|
},
|
2445
|
-
/* @__PURE__ */
|
2465
|
+
/* @__PURE__ */ import_react12.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
2446
2466
|
),
|
2447
|
-
whatsapp: (props) => /* @__PURE__ */
|
2467
|
+
whatsapp: (props) => /* @__PURE__ */ import_react12.default.createElement(
|
2448
2468
|
"svg",
|
2449
2469
|
{
|
2450
2470
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -2452,18 +2472,18 @@ var Logos = {
|
|
2452
2472
|
fill: "currentColor",
|
2453
2473
|
...props
|
2454
2474
|
},
|
2455
|
-
/* @__PURE__ */
|
2475
|
+
/* @__PURE__ */ import_react12.default.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" })
|
2456
2476
|
)
|
2457
2477
|
};
|
2458
2478
|
|
2459
2479
|
// elements/sheet/Sheet.tsx
|
2460
|
-
var
|
2480
|
+
var React18 = __toESM(require("react"));
|
2461
2481
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
2462
2482
|
var import_class_variance_authority2 = require("class-variance-authority");
|
2463
2483
|
var Sheet = SheetPrimitive.Root;
|
2464
2484
|
var SheetTrigger = SheetPrimitive.Trigger;
|
2465
2485
|
var SheetPortal = SheetPrimitive.Portal;
|
2466
|
-
var SheetOverlay =
|
2486
|
+
var SheetOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React18.createElement(
|
2467
2487
|
SheetPrimitive.Overlay,
|
2468
2488
|
{
|
2469
2489
|
className: cn(
|
@@ -2490,8 +2510,8 @@ var sheetVariants = (0, import_class_variance_authority2.cva)(
|
|
2490
2510
|
}
|
2491
2511
|
}
|
2492
2512
|
);
|
2493
|
-
var SheetContent =
|
2494
|
-
({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */
|
2513
|
+
var SheetContent = React18.forwardRef(
|
2514
|
+
({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React18.createElement(SheetPortal, null, /* @__PURE__ */ React18.createElement(SheetOverlay, null), /* @__PURE__ */ React18.createElement(
|
2495
2515
|
SheetPrimitive.Content,
|
2496
2516
|
{
|
2497
2517
|
ref,
|
@@ -2504,7 +2524,7 @@ var SheetContent = React17.forwardRef(
|
|
2504
2524
|
...props
|
2505
2525
|
},
|
2506
2526
|
children,
|
2507
|
-
!hideCloseButton && /* @__PURE__ */
|
2527
|
+
!hideCloseButton && /* @__PURE__ */ React18.createElement(
|
2508
2528
|
SheetPrimitive.Close,
|
2509
2529
|
{
|
2510
2530
|
className: cn(
|
@@ -2516,7 +2536,7 @@ var SheetContent = React17.forwardRef(
|
|
2516
2536
|
}
|
2517
2537
|
)
|
2518
2538
|
},
|
2519
|
-
/* @__PURE__ */
|
2539
|
+
/* @__PURE__ */ React18.createElement(
|
2520
2540
|
"svg",
|
2521
2541
|
{
|
2522
2542
|
"aria-label": "Close Icon",
|
@@ -2525,7 +2545,7 @@ var SheetContent = React17.forwardRef(
|
|
2525
2545
|
fill: "currentColor",
|
2526
2546
|
viewBox: "0 0 20 20"
|
2527
2547
|
},
|
2528
|
-
/* @__PURE__ */
|
2548
|
+
/* @__PURE__ */ React18.createElement(
|
2529
2549
|
"path",
|
2530
2550
|
{
|
2531
2551
|
fillRule: "evenodd",
|
@@ -2534,14 +2554,14 @@ var SheetContent = React17.forwardRef(
|
|
2534
2554
|
}
|
2535
2555
|
)
|
2536
2556
|
),
|
2537
|
-
/* @__PURE__ */
|
2557
|
+
/* @__PURE__ */ React18.createElement("span", { className: "hawa-sr-only" }, "Close")
|
2538
2558
|
)
|
2539
2559
|
))
|
2540
2560
|
);
|
2541
2561
|
var SheetHeader = ({
|
2542
2562
|
className,
|
2543
2563
|
...props
|
2544
|
-
}) => /* @__PURE__ */
|
2564
|
+
}) => /* @__PURE__ */ React18.createElement(
|
2545
2565
|
"div",
|
2546
2566
|
{
|
2547
2567
|
className: cn(
|
@@ -2554,7 +2574,7 @@ var SheetHeader = ({
|
|
2554
2574
|
var SheetFooter = ({
|
2555
2575
|
className,
|
2556
2576
|
...props
|
2557
|
-
}) => /* @__PURE__ */
|
2577
|
+
}) => /* @__PURE__ */ React18.createElement(
|
2558
2578
|
"div",
|
2559
2579
|
{
|
2560
2580
|
className: cn(
|
@@ -2564,7 +2584,7 @@ var SheetFooter = ({
|
|
2564
2584
|
...props
|
2565
2585
|
}
|
2566
2586
|
);
|
2567
|
-
var SheetTitle =
|
2587
|
+
var SheetTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React18.createElement(
|
2568
2588
|
SheetPrimitive.Title,
|
2569
2589
|
{
|
2570
2590
|
ref,
|
@@ -2575,7 +2595,7 @@ var SheetTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
2575
2595
|
...props
|
2576
2596
|
}
|
2577
2597
|
));
|
2578
|
-
var SheetDescription =
|
2598
|
+
var SheetDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React18.createElement(
|
2579
2599
|
SheetPrimitive.Description,
|
2580
2600
|
{
|
2581
2601
|
ref,
|
@@ -2591,10 +2611,10 @@ SheetFooter.displayName = "SheetFooter";
|
|
2591
2611
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
2592
2612
|
|
2593
2613
|
// hooks/useBreakpoint.ts
|
2594
|
-
var
|
2614
|
+
var import_react13 = require("react");
|
2595
2615
|
var useBreakpoint = () => {
|
2596
|
-
const [breakpoint, setBreakpoint] = (0,
|
2597
|
-
(0,
|
2616
|
+
const [breakpoint, setBreakpoint] = (0, import_react13.useState)(null);
|
2617
|
+
(0, import_react13.useEffect)(() => {
|
2598
2618
|
if (typeof window !== "undefined") {
|
2599
2619
|
const resize = () => {
|
2600
2620
|
setBreakpoint(window.innerWidth);
|
@@ -2610,13 +2630,13 @@ var useBreakpoint = () => {
|
|
2610
2630
|
};
|
2611
2631
|
|
2612
2632
|
// layout/docsSidebar/DocsSidebar.tsx
|
2613
|
-
var
|
2633
|
+
var import_react14 = __toESM(require("react"));
|
2614
2634
|
var DocsSidebar = ({
|
2615
2635
|
currentPage: propCurrentPage,
|
2616
2636
|
pages,
|
2617
2637
|
direction
|
2618
2638
|
}) => {
|
2619
|
-
const [activePage, setActivePage] =
|
2639
|
+
const [activePage, setActivePage] = import_react14.default.useState(pages[0]);
|
2620
2640
|
const handlePageClick = (page, event) => {
|
2621
2641
|
event.preventDefault();
|
2622
2642
|
setTimeout(() => {
|
@@ -2638,7 +2658,7 @@ var DocsSidebar = ({
|
|
2638
2658
|
}
|
2639
2659
|
return pages[0];
|
2640
2660
|
};
|
2641
|
-
|
2661
|
+
import_react14.default.useEffect(() => {
|
2642
2662
|
const handleScroll = () => {
|
2643
2663
|
setActivePage(getCurrentSection());
|
2644
2664
|
};
|
@@ -2651,13 +2671,13 @@ var DocsSidebar = ({
|
|
2651
2671
|
rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
|
2652
2672
|
ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
|
2653
2673
|
};
|
2654
|
-
return /* @__PURE__ */
|
2674
|
+
return /* @__PURE__ */ import_react14.default.createElement(
|
2655
2675
|
"div",
|
2656
2676
|
{
|
2657
2677
|
className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
|
2658
2678
|
dir: direction
|
2659
2679
|
},
|
2660
|
-
pages.map((page, index) => /* @__PURE__ */
|
2680
|
+
pages.map((page, index) => /* @__PURE__ */ import_react14.default.createElement(
|
2661
2681
|
"div",
|
2662
2682
|
{
|
2663
2683
|
key: index,
|
@@ -2697,15 +2717,15 @@ var DocsLayout = ({
|
|
2697
2717
|
lg: closeDrawerWidth
|
2698
2718
|
}
|
2699
2719
|
};
|
2700
|
-
const ref = (0,
|
2720
|
+
const ref = (0, import_react15.useRef)(null);
|
2701
2721
|
const isRTL = direction === "rtl";
|
2702
2722
|
let size = useBreakpoint();
|
2703
2723
|
if (typeof window == "undefined") {
|
2704
2724
|
size = 1200;
|
2705
2725
|
}
|
2706
|
-
const [currentPage, setCurrentPage] = (0,
|
2707
|
-
const [openSideMenu, setOpenSideMenu] = (0,
|
2708
|
-
(0,
|
2726
|
+
const [currentPage, setCurrentPage] = (0, import_react15.useState)("Introduction");
|
2727
|
+
const [openSideMenu, setOpenSideMenu] = (0, import_react15.useState)(true);
|
2728
|
+
(0, import_react15.useEffect)(() => {
|
2709
2729
|
const handleClickOutside = (event) => {
|
2710
2730
|
if (ref.current && !ref.current.contains(event.target) && !openSideMenu) {
|
2711
2731
|
setOpenSideMenu(false);
|
@@ -2716,7 +2736,7 @@ var DocsLayout = ({
|
|
2716
2736
|
document.removeEventListener("click", handleClickOutside, true);
|
2717
2737
|
};
|
2718
2738
|
}, [openSideMenu]);
|
2719
|
-
(0,
|
2739
|
+
(0, import_react15.useEffect)(() => {
|
2720
2740
|
const handleResize = () => {
|
2721
2741
|
setOpenSideMenu(window.innerWidth > 600 ? true : false);
|
2722
2742
|
};
|
@@ -2726,19 +2746,19 @@ var DocsLayout = ({
|
|
2726
2746
|
window.removeEventListener("resize", handleResize);
|
2727
2747
|
};
|
2728
2748
|
}, [keepOpen]);
|
2729
|
-
const observerRef =
|
2749
|
+
const observerRef = import_react15.default.useRef(null);
|
2730
2750
|
const handleIntersection = (entries) => {
|
2731
2751
|
const entry = entries.find((entry2) => entry2.isIntersecting);
|
2732
2752
|
if (entry) {
|
2733
2753
|
setCurrentPage(entry.target.id);
|
2734
2754
|
}
|
2735
2755
|
};
|
2736
|
-
(0,
|
2756
|
+
(0, import_react15.useEffect)(() => {
|
2737
2757
|
observerRef.current = new IntersectionObserver(handleIntersection, {
|
2738
2758
|
threshold: 0.5
|
2739
2759
|
// Adjust threshold as needed to determine when a section is in view
|
2740
2760
|
});
|
2741
|
-
|
2761
|
+
import_react15.default.Children.forEach(props.children, (child) => {
|
2742
2762
|
if (child && child.props.id) {
|
2743
2763
|
const element = document.getElementById(child.props.id);
|
2744
2764
|
if (element && observerRef.current) {
|
@@ -2753,7 +2773,7 @@ var DocsLayout = ({
|
|
2753
2773
|
};
|
2754
2774
|
}, [props.children]);
|
2755
2775
|
let drawerSizeCondition = drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize];
|
2756
|
-
return /* @__PURE__ */
|
2776
|
+
return /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ import_react15.default.createElement(
|
2757
2777
|
"div",
|
2758
2778
|
{
|
2759
2779
|
className: cn(
|
@@ -2761,7 +2781,7 @@ var DocsLayout = ({
|
|
2761
2781
|
isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
2762
2782
|
)
|
2763
2783
|
},
|
2764
|
-
size > 600 ? /* @__PURE__ */
|
2784
|
+
size > 600 ? /* @__PURE__ */ import_react15.default.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ import_react15.default.createElement(
|
2765
2785
|
"img",
|
2766
2786
|
{
|
2767
2787
|
className: cn(
|
@@ -2772,18 +2792,18 @@ var DocsLayout = ({
|
|
2772
2792
|
}
|
2773
2793
|
)) : (
|
2774
2794
|
// Mobile Drawer Menu Button
|
2775
|
-
/* @__PURE__ */
|
2795
|
+
/* @__PURE__ */ import_react15.default.createElement(
|
2776
2796
|
"div",
|
2777
2797
|
{
|
2778
2798
|
dir: direction,
|
2779
2799
|
className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
|
2780
2800
|
},
|
2781
|
-
/* @__PURE__ */
|
2801
|
+
/* @__PURE__ */ import_react15.default.createElement(Sheet, null, /* @__PURE__ */ import_react15.default.createElement(SheetTrigger, null, " ", /* @__PURE__ */ import_react15.default.createElement(
|
2782
2802
|
"div",
|
2783
2803
|
{
|
2784
2804
|
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
2785
2805
|
},
|
2786
|
-
/* @__PURE__ */
|
2806
|
+
/* @__PURE__ */ import_react15.default.createElement(
|
2787
2807
|
"svg",
|
2788
2808
|
{
|
2789
2809
|
"aria-label": "Menu Icon",
|
@@ -2795,7 +2815,7 @@ var DocsLayout = ({
|
|
2795
2815
|
height: "1.6em",
|
2796
2816
|
width: "1.6em"
|
2797
2817
|
},
|
2798
|
-
/* @__PURE__ */
|
2818
|
+
/* @__PURE__ */ import_react15.default.createElement(
|
2799
2819
|
"path",
|
2800
2820
|
{
|
2801
2821
|
fillRule: "evenodd",
|
@@ -2804,17 +2824,17 @@ var DocsLayout = ({
|
|
2804
2824
|
}
|
2805
2825
|
)
|
2806
2826
|
)
|
2807
|
-
)), /* @__PURE__ */
|
2827
|
+
)), /* @__PURE__ */ import_react15.default.createElement(
|
2808
2828
|
SheetContent,
|
2809
2829
|
{
|
2810
2830
|
side: isRTL ? "right" : "left",
|
2811
2831
|
className: "hawa-pt-10"
|
2812
2832
|
},
|
2813
|
-
/* @__PURE__ */
|
2833
|
+
/* @__PURE__ */ import_react15.default.createElement(DocsSidebar, { direction, pages: pages || [] })
|
2814
2834
|
))
|
2815
2835
|
)
|
2816
2836
|
),
|
2817
|
-
/* @__PURE__ */
|
2837
|
+
/* @__PURE__ */ import_react15.default.createElement(
|
2818
2838
|
"div",
|
2819
2839
|
{
|
2820
2840
|
className: cn(
|
@@ -2822,9 +2842,9 @@ var DocsLayout = ({
|
|
2822
2842
|
isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
2823
2843
|
)
|
2824
2844
|
},
|
2825
|
-
/* @__PURE__ */
|
2845
|
+
/* @__PURE__ */ import_react15.default.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ import_react15.default.createElement(Logos.github, { className: "hawa-icon" }))
|
2826
2846
|
)
|
2827
|
-
), /* @__PURE__ */
|
2847
|
+
), /* @__PURE__ */ import_react15.default.createElement(
|
2828
2848
|
"div",
|
2829
2849
|
{
|
2830
2850
|
className: cn(
|
@@ -2847,7 +2867,7 @@ var DocsLayout = ({
|
|
2847
2867
|
},
|
2848
2868
|
ref
|
2849
2869
|
},
|
2850
|
-
/* @__PURE__ */
|
2870
|
+
/* @__PURE__ */ import_react15.default.createElement(
|
2851
2871
|
DocsSidebar,
|
2852
2872
|
{
|
2853
2873
|
direction,
|
@@ -2855,7 +2875,7 @@ var DocsLayout = ({
|
|
2855
2875
|
currentPage
|
2856
2876
|
}
|
2857
2877
|
)
|
2858
|
-
), /* @__PURE__ */
|
2878
|
+
), /* @__PURE__ */ import_react15.default.createElement(
|
2859
2879
|
"div",
|
2860
2880
|
{
|
2861
2881
|
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all ",
|