@sikka/hawa 0.2.43-next → 0.2.45-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/index.css +128 -0
- package/dist/index.d.mts +102 -1
- package/dist/index.d.ts +102 -1
- package/dist/index.js +618 -148
- package/dist/index.mjs +545 -118
- package/package.json +5 -2
package/dist/index.mjs
CHANGED
|
@@ -478,14 +478,14 @@ var CodeBlock = ({
|
|
|
478
478
|
fileName
|
|
479
479
|
)),
|
|
480
480
|
/* @__PURE__ */ React7.createElement("pre", null, /* @__PURE__ */ React7.createElement(
|
|
481
|
-
"
|
|
481
|
+
"div",
|
|
482
482
|
{
|
|
483
483
|
className: cn(
|
|
484
|
-
"hawa-relative hawa-flex hawa-w-full hawa-flex-row hawa-items-start hawa-justify-between hawa-p-0 hawa-text-left
|
|
484
|
+
"hawa-relative hawa-flex hawa-w-full hawa-flex-row hawa-items-start hawa-justify-between hawa-p-0 hawa-text-left hawa-text-sm sm:hawa-text-base hawa-bg-gray-300 ",
|
|
485
485
|
tabs || fileName ? "hawa-rounded-b hawa-rounded-t-none" : "hawa-rounded"
|
|
486
486
|
)
|
|
487
487
|
},
|
|
488
|
-
/* @__PURE__ */ React7.createElement("
|
|
488
|
+
/* @__PURE__ */ React7.createElement("code", { className: "hawa-flex hawa-min-h-[37.75px] hawa-w-full hawa-flex-row hawa-justify-start hawa-overflow-auto hawa-p-4 hawa-text-foreground hawa-bg-background/70 hawa-font-mono" }, tabs ? tabs[selectedTab].code : code),
|
|
489
489
|
/* @__PURE__ */ React7.createElement("div", { className: "hawa-absolute hawa-right-0 hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-p-2" }, /* @__PURE__ */ React7.createElement(
|
|
490
490
|
Tooltip,
|
|
491
491
|
{
|
|
@@ -1292,6 +1292,7 @@ var Popover = ({
|
|
|
1292
1292
|
},
|
|
1293
1293
|
children
|
|
1294
1294
|
));
|
|
1295
|
+
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
1295
1296
|
|
|
1296
1297
|
// components/elements/Textarea.tsx
|
|
1297
1298
|
import * as React19 from "react";
|
|
@@ -1985,7 +1986,7 @@ var FileDropzone = ({
|
|
|
1985
1986
|
};
|
|
1986
1987
|
|
|
1987
1988
|
// components/elements/PhoneInput.tsx
|
|
1988
|
-
import
|
|
1989
|
+
import React28, { useState as useState11 } from "react";
|
|
1989
1990
|
|
|
1990
1991
|
// components/countries.ts
|
|
1991
1992
|
var countries = [
|
|
@@ -3680,8 +3681,94 @@ var countries = [
|
|
|
3680
3681
|
];
|
|
3681
3682
|
var countries_default = countries;
|
|
3682
3683
|
|
|
3683
|
-
// components/elements/
|
|
3684
|
-
import
|
|
3684
|
+
// components/elements/Input.tsx
|
|
3685
|
+
import React26 from "react";
|
|
3686
|
+
var Input = ({
|
|
3687
|
+
margin = "none",
|
|
3688
|
+
width = "full",
|
|
3689
|
+
preview = false,
|
|
3690
|
+
...props
|
|
3691
|
+
}) => {
|
|
3692
|
+
let marginStyles = {
|
|
3693
|
+
none: "hawa-mb-0",
|
|
3694
|
+
normal: "hawa-mb-3",
|
|
3695
|
+
large: "hawa-mb-5"
|
|
3696
|
+
};
|
|
3697
|
+
let widthStyles = {
|
|
3698
|
+
small: "hawa-w-full hawa-max-w-2xs",
|
|
3699
|
+
normal: "hawa-w-1/2",
|
|
3700
|
+
full: "hawa-w-full"
|
|
3701
|
+
};
|
|
3702
|
+
let defaultStyle = "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-2";
|
|
3703
|
+
let defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-2 hawa-text-sm hawa-text-black dark:hawa-text-white ";
|
|
3704
|
+
return /* @__PURE__ */ React26.createElement(
|
|
3705
|
+
"div",
|
|
3706
|
+
{
|
|
3707
|
+
className: cn(
|
|
3708
|
+
defaultStyle,
|
|
3709
|
+
marginStyles[margin],
|
|
3710
|
+
widthStyles[width],
|
|
3711
|
+
props.className
|
|
3712
|
+
)
|
|
3713
|
+
},
|
|
3714
|
+
props.label && /* @__PURE__ */ React26.createElement(Label, null, props.label),
|
|
3715
|
+
props.isLoading ? /* @__PURE__ */ React26.createElement(Skeleton, { className: "hawa-h-[38px] hawa-w-full" }) : /* @__PURE__ */ React26.createElement(React26.Fragment, null, /* @__PURE__ */ React26.createElement(
|
|
3716
|
+
"div",
|
|
3717
|
+
{
|
|
3718
|
+
className: cn(
|
|
3719
|
+
"hawa-absolute hawa-top-[22px] hawa-h-[0.8px] hawa-w-full hawa-bg-gray-200 hawa-transition-all dark:hawa-bg-gray-800",
|
|
3720
|
+
preview ? "hawa-opacity-100" : "hawa-opacity-0"
|
|
3721
|
+
)
|
|
3722
|
+
}
|
|
3723
|
+
), /* @__PURE__ */ React26.createElement(React26.Fragment, null, /* @__PURE__ */ React26.createElement("div", { className: cn("hawa-relative") }, props.icon && /* @__PURE__ */ React26.createElement("div", { className: "hawa-absolute hawa-left-3 hawa-top-1/2 hawa--translate-y-1/2" }, props.icon), /* @__PURE__ */ React26.createElement(
|
|
3724
|
+
"input",
|
|
3725
|
+
{
|
|
3726
|
+
...props,
|
|
3727
|
+
className: cn(
|
|
3728
|
+
defaultInputStyle,
|
|
3729
|
+
props.icon && "hawa-pl-10",
|
|
3730
|
+
"focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0",
|
|
3731
|
+
preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
|
|
3732
|
+
props.inputProps?.className
|
|
3733
|
+
),
|
|
3734
|
+
disabled: preview
|
|
3735
|
+
}
|
|
3736
|
+
)), props.iconInside && /* @__PURE__ */ React26.createElement("div", { className: "hawa-absolute hawa-right-1 hawa-top-[41px] hawa--translate-y-1/2" }, props.iconInside), props.helperText && /* @__PURE__ */ React26.createElement("p", { className: "hawa-mb-0 hawa-mt-0 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500" }, props.helperText)))
|
|
3737
|
+
);
|
|
3738
|
+
};
|
|
3739
|
+
|
|
3740
|
+
// components/elements/Select.tsx
|
|
3741
|
+
import clsx7 from "clsx";
|
|
3742
|
+
import React27 from "react";
|
|
3743
|
+
import ReactSelect from "react-select";
|
|
3744
|
+
import CreatableSelect from "react-select/creatable";
|
|
3745
|
+
var Control = ({
|
|
3746
|
+
cx,
|
|
3747
|
+
children,
|
|
3748
|
+
getStyles,
|
|
3749
|
+
innerProps,
|
|
3750
|
+
innerRef,
|
|
3751
|
+
size = "normal",
|
|
3752
|
+
...props
|
|
3753
|
+
}) => {
|
|
3754
|
+
let sizeStyles = {
|
|
3755
|
+
small: "hawa-h-7 hawa-text-xs",
|
|
3756
|
+
normal: "hawa-h-[2.38rem] hawa-text-sm",
|
|
3757
|
+
large: ""
|
|
3758
|
+
};
|
|
3759
|
+
return /* @__PURE__ */ React27.createElement(
|
|
3760
|
+
"div",
|
|
3761
|
+
{
|
|
3762
|
+
ref: innerRef,
|
|
3763
|
+
className: clsx7(
|
|
3764
|
+
sizeStyles[size],
|
|
3765
|
+
"hawa-flex hawa-w-full hawa-rounded hawa-border hawa-bg-background hawa-text-gray-900 focus:hawa-border-blue-500 focus:hawa-ring-blue-500 dark:focus:hawa-ring-blue-500"
|
|
3766
|
+
),
|
|
3767
|
+
...innerProps
|
|
3768
|
+
},
|
|
3769
|
+
children
|
|
3770
|
+
);
|
|
3771
|
+
};
|
|
3685
3772
|
var Menu = ({
|
|
3686
3773
|
cx,
|
|
3687
3774
|
children,
|
|
@@ -3690,10 +3777,10 @@ var Menu = ({
|
|
|
3690
3777
|
innerRef,
|
|
3691
3778
|
...props
|
|
3692
3779
|
}) => {
|
|
3693
|
-
return /* @__PURE__ */
|
|
3780
|
+
return /* @__PURE__ */ React27.createElement(
|
|
3694
3781
|
"div",
|
|
3695
3782
|
{
|
|
3696
|
-
className: "hawa-absolute hawa-z-
|
|
3783
|
+
className: "hawa-absolute hawa-z-10 hawa-mt-2 hawa-flex hawa-w-full hawa-flex-col hawa-justify-start hawa-rounded hawa-border hawa-bg-background hawa-p-1.5",
|
|
3697
3784
|
ref: innerRef,
|
|
3698
3785
|
...innerProps
|
|
3699
3786
|
},
|
|
@@ -3706,131 +3793,184 @@ var Option = ({
|
|
|
3706
3793
|
getStyles,
|
|
3707
3794
|
innerProps,
|
|
3708
3795
|
innerRef,
|
|
3796
|
+
size = "normal",
|
|
3709
3797
|
...props
|
|
3710
|
-
}) => /* @__PURE__ */
|
|
3798
|
+
}) => /* @__PURE__ */ React27.createElement(
|
|
3711
3799
|
"div",
|
|
3712
3800
|
{
|
|
3713
3801
|
ref: innerRef,
|
|
3714
|
-
className: "hawa-
|
|
3802
|
+
className: "hawa-flex hawa-cursor-pointer hawa-select-none hawa-flex-row hawa-items-center hawa-justify-between hawa-rounded-inner hawa-p-1 hawa-px-2 hover:hawa-bg-primary hover:hawa-text-primary-foreground",
|
|
3715
3803
|
...innerProps
|
|
3716
3804
|
},
|
|
3717
|
-
/* @__PURE__ */ React26.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1" }, /* @__PURE__ */ React26.createElement("img", { className: "hawa-h-8 hawa-w-8", src: props.data.image }), /* @__PURE__ */ React26.createElement("span", { className: "hawa-text-[10px]" }, props.data.country_label)),
|
|
3718
3805
|
children
|
|
3719
3806
|
);
|
|
3720
|
-
var
|
|
3721
|
-
const
|
|
3722
|
-
|
|
3723
|
-
|
|
3807
|
+
var Select = (props) => {
|
|
3808
|
+
const NoOption = () => {
|
|
3809
|
+
return /* @__PURE__ */ React27.createElement("div", null, props.texts?.noOptions ?? "No Items Found");
|
|
3810
|
+
};
|
|
3811
|
+
return /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ React27.createElement(Label, null, props.label), props.isLoading ? /* @__PURE__ */ React27.createElement(Skeleton, { className: "hawa-h-[38px] hawa-w-full" }) : !props.isCreatable ? /* @__PURE__ */ React27.createElement(
|
|
3812
|
+
ReactSelect,
|
|
3724
3813
|
{
|
|
3814
|
+
noOptionsMessage: NoOption,
|
|
3725
3815
|
classNames: {
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
})
|
|
3816
|
+
container: () => cn(
|
|
3817
|
+
"hawa-rounded",
|
|
3818
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
|
3819
|
+
),
|
|
3820
|
+
// TODO: enable keyboard to go to the next item in the list
|
|
3821
|
+
placeholder: () => "hawa-px-2 hawa-text-muted-foreground",
|
|
3822
|
+
input: () => "hawa-text-primary hawa-px-2",
|
|
3823
|
+
valueContainer: () => "hawa-text-white dark:hawa-text-muted-foreground",
|
|
3824
|
+
singleValue: () => "hawa-text-black dark:hawa-text-white hawa-px-2",
|
|
3825
|
+
indicatorsContainer: () => " hawa-px-2 hawa-cursor-pointer hawa-text-muted-foreground"
|
|
3737
3826
|
},
|
|
3827
|
+
unstyled: true,
|
|
3828
|
+
isDisabled: props.disabled,
|
|
3829
|
+
options: props.options,
|
|
3830
|
+
defaultValue: props.defaultValue,
|
|
3831
|
+
isClearable: props.isClearable,
|
|
3832
|
+
isMulti: props.isMulti,
|
|
3833
|
+
isSearchable: props.isSearchable,
|
|
3834
|
+
autoFocus: true,
|
|
3835
|
+
onChange: (newValue, action) => (
|
|
3836
|
+
// props.onChange(newValue.label, action)
|
|
3837
|
+
props.onChange(newValue, action)
|
|
3838
|
+
),
|
|
3738
3839
|
components: {
|
|
3840
|
+
Control,
|
|
3739
3841
|
Option,
|
|
3740
|
-
Menu
|
|
3741
|
-
DropdownIndicator: () => null,
|
|
3742
|
-
IndicatorSeparator: () => null
|
|
3842
|
+
Menu
|
|
3743
3843
|
},
|
|
3844
|
+
getOptionLabel: props.getOptionLabel
|
|
3845
|
+
}
|
|
3846
|
+
) : /* @__PURE__ */ React27.createElement(
|
|
3847
|
+
CreatableSelect,
|
|
3848
|
+
{
|
|
3849
|
+
formatCreateLabel: (inputValue) => `${props.texts?.createLabel ?? "Create"} "${inputValue}"`,
|
|
3850
|
+
classNames: {
|
|
3851
|
+
container: () => cn(
|
|
3852
|
+
"hawa-rounded",
|
|
3853
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
|
3854
|
+
),
|
|
3855
|
+
placeholder: () => "hawa-px-2 hawa-text-muted-foreground",
|
|
3856
|
+
input: () => "hawa-text-primary hawa-px-2",
|
|
3857
|
+
valueContainer: () => "hawa-text-white dark:hawa-text-muted-foreground",
|
|
3858
|
+
singleValue: () => "hawa-text-black dark:hawa-text-white hawa-px-2",
|
|
3859
|
+
indicatorsContainer: () => " hawa-px-2 hawa-cursor-pointer hawa-text-muted-foreground"
|
|
3860
|
+
},
|
|
3861
|
+
unstyled: true,
|
|
3862
|
+
options: props.options,
|
|
3863
|
+
isClearable: props.isClearable,
|
|
3864
|
+
isMulti: props.isMulti,
|
|
3865
|
+
isSearchable: props.isSearchable,
|
|
3866
|
+
onCreateOption: () => console.log("im changing"),
|
|
3867
|
+
onChange: (newValue, action) => props.onChange(newValue, action),
|
|
3868
|
+
onInputChange: (newValue, action) => props.onInputChange(newValue, action),
|
|
3869
|
+
components: {
|
|
3870
|
+
Control,
|
|
3871
|
+
Option,
|
|
3872
|
+
Menu
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3875
|
+
), props.helperText && /* @__PURE__ */ React27.createElement("p", { className: "hawa-mt-2 hawa-text-sm hawa-text-red-600 dark:hawa-text-red-500" }, props.helperText));
|
|
3876
|
+
};
|
|
3877
|
+
|
|
3878
|
+
// components/elements/PhoneInput.tsx
|
|
3879
|
+
var PhoneInput = (props) => {
|
|
3880
|
+
const [selectedCountry, setSelectedCountry] = useState11("+966");
|
|
3881
|
+
return /* @__PURE__ */ React28.createElement("div", { className: "hawa-mb-3 hawa-flex hawa-flex-col" }, props.label && /* @__PURE__ */ React28.createElement("label", { className: "hawa-mb-2 hawa-block hawa-text-sm hawa-font-medium" }, props.label), /* @__PURE__ */ React28.createElement("div", { dir: "ltr", className: "hawa-flex hawa-flex-row " }, /* @__PURE__ */ React28.createElement(
|
|
3882
|
+
Select,
|
|
3883
|
+
{
|
|
3744
3884
|
options: countries_default,
|
|
3745
3885
|
isMulti: false,
|
|
3746
3886
|
isSearchable: true,
|
|
3747
3887
|
isClearable: false,
|
|
3748
|
-
placeholder: "+966",
|
|
3749
|
-
unstyled: true,
|
|
3750
3888
|
defaultValue: props.preferredCountry,
|
|
3751
3889
|
value: selectedCountry,
|
|
3752
3890
|
onChange: (newValue, action) => setSelectedCountry(newValue)
|
|
3753
3891
|
}
|
|
3754
|
-
), /* @__PURE__ */
|
|
3755
|
-
|
|
3892
|
+
), /* @__PURE__ */ React28.createElement(
|
|
3893
|
+
Input,
|
|
3756
3894
|
{
|
|
3757
3895
|
onChange: props.handleChange,
|
|
3758
3896
|
type: "number",
|
|
3759
3897
|
placeholder: "531045453",
|
|
3760
|
-
|
|
3898
|
+
inputProps: {
|
|
3899
|
+
className: "hawa-border-l-0 hawa-border-l-transparent"
|
|
3900
|
+
}
|
|
3761
3901
|
}
|
|
3762
|
-
), props.helperText && /* @__PURE__ */
|
|
3902
|
+
), props.helperText && /* @__PURE__ */ React28.createElement("p", { className: "hawa-mb-1 hawa-mt-1 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500" }, props.helperText)));
|
|
3763
3903
|
};
|
|
3764
3904
|
|
|
3765
3905
|
// components/elements/AppStores.tsx
|
|
3766
|
-
import
|
|
3906
|
+
import React29 from "react";
|
|
3767
3907
|
var AppStores = (props) => {
|
|
3768
|
-
return /* @__PURE__ */
|
|
3908
|
+
return /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ React29.createElement("div", null, props.store === "apple" ? props.mode === "dark" ? /* @__PURE__ */ React29.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" }, /* @__PURE__ */ React29.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React29.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React29.createElement(
|
|
3769
3909
|
"path",
|
|
3770
3910
|
{
|
|
3771
3911
|
fill: "currentColor",
|
|
3772
3912
|
d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"
|
|
3773
3913
|
}
|
|
3774
|
-
))), /* @__PURE__ */
|
|
3914
|
+
))), /* @__PURE__ */ React29.createElement("div", null, /* @__PURE__ */ React29.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ React29.createElement("div", { className: "hawa-font-sans hawa--mt-1 hawa-text-2xl hawa-font-semibold" }, "App Store"))) : /* @__PURE__ */ React29.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-border hawa-border-black hawa-bg-transparent hawa-text-black" }, /* @__PURE__ */ React29.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React29.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ React29.createElement(
|
|
3775
3915
|
"path",
|
|
3776
3916
|
{
|
|
3777
3917
|
fill: "currentColor",
|
|
3778
3918
|
d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"
|
|
3779
3919
|
}
|
|
3780
|
-
))), /* @__PURE__ */
|
|
3920
|
+
))), /* @__PURE__ */ React29.createElement("div", null, /* @__PURE__ */ React29.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ React29.createElement("div", { className: "hawa-font-sans hawa--mt-1 hawa-text-2xl hawa-font-semibold" }, "App Store"))) : props.mode === "dark" ? /* @__PURE__ */ React29.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" }, /* @__PURE__ */ React29.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React29.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ React29.createElement(
|
|
3781
3921
|
"path",
|
|
3782
3922
|
{
|
|
3783
3923
|
fill: "#FFD400",
|
|
3784
3924
|
d: "M119.2,421.2c15.3-8.4,27-14.8,28-15.3c3.2-1.7,6.5-6.2,0-9.7 c-2.1-1.1-13.4-7.3-28-15.3l-20.1,20.2L119.2,421.2z"
|
|
3785
3925
|
}
|
|
3786
|
-
), /* @__PURE__ */
|
|
3926
|
+
), /* @__PURE__ */ React29.createElement(
|
|
3787
3927
|
"path",
|
|
3788
3928
|
{
|
|
3789
3929
|
fill: "#FF3333",
|
|
3790
3930
|
d: "M99.1,401.1l-64.2,64.7c1.5,0.2,3.2-0.2,5.2-1.3 c4.2-2.3,48.8-26.7,79.1-43.3L99.1,401.1L99.1,401.1z"
|
|
3791
3931
|
}
|
|
3792
|
-
), /* @__PURE__ */
|
|
3932
|
+
), /* @__PURE__ */ React29.createElement(
|
|
3793
3933
|
"path",
|
|
3794
3934
|
{
|
|
3795
3935
|
fill: "#48FF48",
|
|
3796
3936
|
d: "M99.1,401.1l20.1-20.2c0,0-74.6-40.7-79.1-43.1 c-1.7-1-3.6-1.3-5.3-1L99.1,401.1z"
|
|
3797
3937
|
}
|
|
3798
|
-
), /* @__PURE__ */
|
|
3938
|
+
), /* @__PURE__ */ React29.createElement(
|
|
3799
3939
|
"path",
|
|
3800
3940
|
{
|
|
3801
3941
|
fill: "#3BCCFF",
|
|
3802
3942
|
d: "M99.1,401.1l-64.3-64.3c-2.6,0.6-4.8,2.9-4.8,7.6 c0,7.5,0,107.5,0,113.8c0,4.3,1.7,7.4,4.9,7.7L99.1,401.1z"
|
|
3803
3943
|
}
|
|
3804
|
-
))), /* @__PURE__ */
|
|
3944
|
+
))), /* @__PURE__ */ React29.createElement("div", null, /* @__PURE__ */ React29.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React29.createElement("div", { className: "hawa-font-sans hawa--mt-1 hawa-text-xl hawa-font-semibold" }, "Google Play"))) : /* @__PURE__ */ React29.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-border hawa-border-black hawa-bg-white hawa-text-black" }, /* @__PURE__ */ React29.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ React29.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ React29.createElement(
|
|
3805
3945
|
"path",
|
|
3806
3946
|
{
|
|
3807
3947
|
fill: "#FFD400",
|
|
3808
3948
|
d: "M119.2,421.2c15.3-8.4,27-14.8,28-15.3c3.2-1.7,6.5-6.2,0-9.7 c-2.1-1.1-13.4-7.3-28-15.3l-20.1,20.2L119.2,421.2z"
|
|
3809
3949
|
}
|
|
3810
|
-
), /* @__PURE__ */
|
|
3950
|
+
), /* @__PURE__ */ React29.createElement(
|
|
3811
3951
|
"path",
|
|
3812
3952
|
{
|
|
3813
3953
|
fill: "#FF3333",
|
|
3814
3954
|
d: "M99.1,401.1l-64.2,64.7c1.5,0.2,3.2-0.2,5.2-1.3 c4.2-2.3,48.8-26.7,79.1-43.3L99.1,401.1L99.1,401.1z"
|
|
3815
3955
|
}
|
|
3816
|
-
), /* @__PURE__ */
|
|
3956
|
+
), /* @__PURE__ */ React29.createElement(
|
|
3817
3957
|
"path",
|
|
3818
3958
|
{
|
|
3819
3959
|
fill: "#48FF48",
|
|
3820
3960
|
d: "M99.1,401.1l20.1-20.2c0,0-74.6-40.7-79.1-43.1 c-1.7-1-3.6-1.3-5.3-1L99.1,401.1z"
|
|
3821
3961
|
}
|
|
3822
|
-
), /* @__PURE__ */
|
|
3962
|
+
), /* @__PURE__ */ React29.createElement(
|
|
3823
3963
|
"path",
|
|
3824
3964
|
{
|
|
3825
3965
|
fill: "#3BCCFF",
|
|
3826
3966
|
d: "M99.1,401.1l-64.3-64.3c-2.6,0.6-4.8,2.9-4.8,7.6 c0,7.5,0,107.5,0,113.8c0,4.3,1.7,7.4,4.9,7.7L99.1,401.1z"
|
|
3827
3967
|
}
|
|
3828
|
-
))), /* @__PURE__ */
|
|
3968
|
+
))), /* @__PURE__ */ React29.createElement("div", null, /* @__PURE__ */ React29.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ React29.createElement("div", { className: "hawa-font-sans hawa--mt-1 hawa-text-xl hawa-font-semibold" }, "Google Play")))));
|
|
3829
3969
|
};
|
|
3830
3970
|
|
|
3831
3971
|
// components/elements/BackToTop.tsx
|
|
3832
|
-
import
|
|
3833
|
-
import { clsx as
|
|
3972
|
+
import React30, { useState as useState12, useEffect as useEffect7, useRef as useRef4 } from "react";
|
|
3973
|
+
import { clsx as clsx8 } from "clsx";
|
|
3834
3974
|
var BackToTop = ({ ...props }) => {
|
|
3835
3975
|
const [visible, setVisible] = useState12(false);
|
|
3836
3976
|
const [rect, _setRect] = useState12(null);
|
|
@@ -3893,7 +4033,7 @@ var BackToTop = ({ ...props }) => {
|
|
|
3893
4033
|
};
|
|
3894
4034
|
return style;
|
|
3895
4035
|
};
|
|
3896
|
-
return /* @__PURE__ */
|
|
4036
|
+
return /* @__PURE__ */ React30.createElement(
|
|
3897
4037
|
Button,
|
|
3898
4038
|
{
|
|
3899
4039
|
className: cn(
|
|
@@ -3908,81 +4048,26 @@ var BackToTop = ({ ...props }) => {
|
|
|
3908
4048
|
ref: self,
|
|
3909
4049
|
size: "icon"
|
|
3910
4050
|
},
|
|
3911
|
-
/* @__PURE__ */
|
|
4051
|
+
/* @__PURE__ */ React30.createElement(
|
|
3912
4052
|
"svg",
|
|
3913
4053
|
{
|
|
3914
|
-
className:
|
|
4054
|
+
className: clsx8(
|
|
3915
4055
|
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all disabled:hawa-bg-gray-200"
|
|
3916
4056
|
),
|
|
3917
4057
|
"aria-label": "Arrow Icon",
|
|
3918
4058
|
viewBox: "0 0 20 20",
|
|
3919
4059
|
fill: "currentColor"
|
|
3920
4060
|
},
|
|
3921
|
-
/* @__PURE__ */
|
|
4061
|
+
/* @__PURE__ */ React30.createElement("path", { d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" })
|
|
3922
4062
|
)
|
|
3923
4063
|
);
|
|
3924
4064
|
};
|
|
3925
4065
|
|
|
3926
|
-
// components/elements/Input.tsx
|
|
3927
|
-
import React29 from "react";
|
|
3928
|
-
var Input = ({
|
|
3929
|
-
margin = "none",
|
|
3930
|
-
width = "full",
|
|
3931
|
-
preview = false,
|
|
3932
|
-
...props
|
|
3933
|
-
}) => {
|
|
3934
|
-
let marginStyles = {
|
|
3935
|
-
none: "hawa-mb-0",
|
|
3936
|
-
normal: "hawa-mb-3",
|
|
3937
|
-
large: "hawa-mb-5"
|
|
3938
|
-
};
|
|
3939
|
-
let widthStyles = {
|
|
3940
|
-
small: "hawa-w-full hawa-max-w-2xs",
|
|
3941
|
-
normal: "hawa-w-1/2",
|
|
3942
|
-
full: "hawa-w-full"
|
|
3943
|
-
};
|
|
3944
|
-
let defaultStyle = "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-2";
|
|
3945
|
-
let defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-2 hawa-text-sm hawa-text-black dark:hawa-text-white ";
|
|
3946
|
-
return /* @__PURE__ */ React29.createElement(
|
|
3947
|
-
"div",
|
|
3948
|
-
{
|
|
3949
|
-
className: cn(
|
|
3950
|
-
defaultStyle,
|
|
3951
|
-
marginStyles[margin],
|
|
3952
|
-
widthStyles[width],
|
|
3953
|
-
props.className
|
|
3954
|
-
)
|
|
3955
|
-
},
|
|
3956
|
-
props.label && /* @__PURE__ */ React29.createElement(Label, null, props.label),
|
|
3957
|
-
props.isLoading ? /* @__PURE__ */ React29.createElement(Skeleton, { className: "hawa-h-[38px] hawa-w-full" }) : /* @__PURE__ */ React29.createElement(React29.Fragment, null, /* @__PURE__ */ React29.createElement(
|
|
3958
|
-
"div",
|
|
3959
|
-
{
|
|
3960
|
-
className: cn(
|
|
3961
|
-
"hawa-absolute hawa-top-[22px] hawa-h-[0.8px] hawa-w-full hawa-bg-gray-200 hawa-transition-all dark:hawa-bg-gray-800",
|
|
3962
|
-
preview ? "hawa-opacity-100" : "hawa-opacity-0"
|
|
3963
|
-
)
|
|
3964
|
-
}
|
|
3965
|
-
), /* @__PURE__ */ React29.createElement(React29.Fragment, null, /* @__PURE__ */ React29.createElement("div", { className: cn("hawa-relative") }, props.icon && /* @__PURE__ */ React29.createElement("div", { className: "hawa-absolute hawa-left-3 hawa-top-1/2 hawa--translate-y-1/2" }, props.icon), /* @__PURE__ */ React29.createElement(
|
|
3966
|
-
"input",
|
|
3967
|
-
{
|
|
3968
|
-
...props,
|
|
3969
|
-
className: cn(
|
|
3970
|
-
defaultInputStyle,
|
|
3971
|
-
props.icon && "hawa-pl-10",
|
|
3972
|
-
"focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2",
|
|
3973
|
-
preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0"
|
|
3974
|
-
),
|
|
3975
|
-
disabled: preview
|
|
3976
|
-
}
|
|
3977
|
-
)), props.iconInside && /* @__PURE__ */ React29.createElement("div", { className: "hawa-absolute hawa-right-1 hawa-top-[41px] hawa--translate-y-1/2" }, props.iconInside), props.helperText && /* @__PURE__ */ React29.createElement("p", { className: "hawa-mb-0 hawa-mt-0 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500" }, props.helperText)))
|
|
3978
|
-
);
|
|
3979
|
-
};
|
|
3980
|
-
|
|
3981
4066
|
// components/elements/Tabs.tsx
|
|
3982
|
-
import * as
|
|
4067
|
+
import * as React31 from "react";
|
|
3983
4068
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3984
|
-
var TabsContext =
|
|
3985
|
-
var Tabs =
|
|
4069
|
+
var TabsContext = React31.createContext({ orientation: "vertical" });
|
|
4070
|
+
var Tabs = React31.forwardRef(({ className, orientation, ...props }, ref) => /* @__PURE__ */ React31.createElement(
|
|
3986
4071
|
TabsPrimitive.Root,
|
|
3987
4072
|
{
|
|
3988
4073
|
ref,
|
|
@@ -3993,13 +4078,13 @@ var Tabs = React30.forwardRef(({ className, orientation, ...props }, ref) => /*
|
|
|
3993
4078
|
),
|
|
3994
4079
|
...props
|
|
3995
4080
|
},
|
|
3996
|
-
/* @__PURE__ */
|
|
4081
|
+
/* @__PURE__ */ React31.createElement(TabsContext.Provider, { value: { orientation } }, props.children)
|
|
3997
4082
|
));
|
|
3998
4083
|
Tabs.displayName = TabsPrimitive.Root.displayName;
|
|
3999
|
-
var TabsList =
|
|
4000
|
-
const { orientation } =
|
|
4084
|
+
var TabsList = React31.forwardRef(({ className, ...props }, ref) => {
|
|
4085
|
+
const { orientation } = React31.useContext(TabsContext);
|
|
4001
4086
|
console.log("orient ", orientation);
|
|
4002
|
-
return /* @__PURE__ */
|
|
4087
|
+
return /* @__PURE__ */ React31.createElement(
|
|
4003
4088
|
TabsPrimitive.List,
|
|
4004
4089
|
{
|
|
4005
4090
|
ref,
|
|
@@ -4013,8 +4098,8 @@ var TabsList = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
4013
4098
|
);
|
|
4014
4099
|
});
|
|
4015
4100
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
4016
|
-
var TabsTrigger =
|
|
4017
|
-
return /* @__PURE__ */
|
|
4101
|
+
var TabsTrigger = React31.forwardRef(({ className, ...props }, ref) => {
|
|
4102
|
+
return /* @__PURE__ */ React31.createElement(
|
|
4018
4103
|
TabsPrimitive.Trigger,
|
|
4019
4104
|
{
|
|
4020
4105
|
ref,
|
|
@@ -4027,7 +4112,7 @@ var TabsTrigger = React30.forwardRef(({ className, ...props }, ref) => {
|
|
|
4027
4112
|
);
|
|
4028
4113
|
});
|
|
4029
4114
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
4030
|
-
var TabsContent =
|
|
4115
|
+
var TabsContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React31.createElement(
|
|
4031
4116
|
TabsPrimitive.Content,
|
|
4032
4117
|
{
|
|
4033
4118
|
ref,
|
|
@@ -4039,6 +4124,334 @@ var TabsContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4039
4124
|
}
|
|
4040
4125
|
));
|
|
4041
4126
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
4127
|
+
|
|
4128
|
+
// components/elements/ScrollArea.tsx
|
|
4129
|
+
import * as React32 from "react";
|
|
4130
|
+
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
4131
|
+
var ScrollArea = React32.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React32.createElement(
|
|
4132
|
+
ScrollAreaPrimitive.Root,
|
|
4133
|
+
{
|
|
4134
|
+
ref,
|
|
4135
|
+
className: cn("hawa-relative hawa-overflow-hidden", className),
|
|
4136
|
+
...props
|
|
4137
|
+
},
|
|
4138
|
+
/* @__PURE__ */ React32.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
|
|
4139
|
+
/* @__PURE__ */ React32.createElement(ScrollBar, { orientation }),
|
|
4140
|
+
/* @__PURE__ */ React32.createElement(ScrollAreaPrimitive.Corner, null)
|
|
4141
|
+
));
|
|
4142
|
+
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
4143
|
+
var ScrollBar = React32.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React32.createElement(
|
|
4144
|
+
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
4145
|
+
{
|
|
4146
|
+
ref,
|
|
4147
|
+
orientation,
|
|
4148
|
+
className: cn(
|
|
4149
|
+
"hawa-flex hawa-touch-none hawa-select-none hawa-transition-colors",
|
|
4150
|
+
orientation === "vertical" && "hawa-h-full hawa-w-2.5 hawa-border-l hawa-border-l-transparent hawa-p-[1px]",
|
|
4151
|
+
orientation === "horizontal" && "hawa-h-2.5 hawa-border-t hawa-border-t-transparent hawa-p-[1px]",
|
|
4152
|
+
className
|
|
4153
|
+
),
|
|
4154
|
+
...props
|
|
4155
|
+
},
|
|
4156
|
+
/* @__PURE__ */ React32.createElement(
|
|
4157
|
+
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
4158
|
+
{
|
|
4159
|
+
className: cn(
|
|
4160
|
+
"hawa-relative hawa-rounded-full hawa-bg-border",
|
|
4161
|
+
orientation === "vertical" && "hawa-flex-1"
|
|
4162
|
+
)
|
|
4163
|
+
}
|
|
4164
|
+
)
|
|
4165
|
+
));
|
|
4166
|
+
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
4167
|
+
|
|
4168
|
+
// components/elements/Logos.tsx
|
|
4169
|
+
import React33 from "react";
|
|
4170
|
+
var Logos = {
|
|
4171
|
+
logo: (props) => /* @__PURE__ */ React33.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 256 256", ...props }, /* @__PURE__ */ React33.createElement("rect", { width: "256", height: "256", fill: "none" }), /* @__PURE__ */ React33.createElement(
|
|
4172
|
+
"line",
|
|
4173
|
+
{
|
|
4174
|
+
x1: "208",
|
|
4175
|
+
y1: "128",
|
|
4176
|
+
x2: "128",
|
|
4177
|
+
y2: "208",
|
|
4178
|
+
fill: "none",
|
|
4179
|
+
stroke: "currentColor",
|
|
4180
|
+
strokeLinecap: "round",
|
|
4181
|
+
strokeLinejoin: "round",
|
|
4182
|
+
strokeWidth: "16"
|
|
4183
|
+
}
|
|
4184
|
+
), /* @__PURE__ */ React33.createElement(
|
|
4185
|
+
"line",
|
|
4186
|
+
{
|
|
4187
|
+
x1: "192",
|
|
4188
|
+
y1: "40",
|
|
4189
|
+
x2: "40",
|
|
4190
|
+
y2: "192",
|
|
4191
|
+
fill: "none",
|
|
4192
|
+
stroke: "currentColor",
|
|
4193
|
+
strokeLinecap: "round",
|
|
4194
|
+
strokeLinejoin: "round",
|
|
4195
|
+
strokeWidth: "16"
|
|
4196
|
+
}
|
|
4197
|
+
)),
|
|
4198
|
+
mail: (props) => /* @__PURE__ */ React33.createElement(
|
|
4199
|
+
"svg",
|
|
4200
|
+
{
|
|
4201
|
+
stroke: "currentColor",
|
|
4202
|
+
fill: "none",
|
|
4203
|
+
"stroke-width": "2",
|
|
4204
|
+
viewBox: "0 0 24 24",
|
|
4205
|
+
"stroke-linecap": "round",
|
|
4206
|
+
"stroke-linejoin": "round",
|
|
4207
|
+
height: "1em",
|
|
4208
|
+
width: "1em",
|
|
4209
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4210
|
+
...props
|
|
4211
|
+
},
|
|
4212
|
+
/* @__PURE__ */ React33.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" }),
|
|
4213
|
+
/* @__PURE__ */ React33.createElement("polyline", { points: "22,6 12,13 2,6" })
|
|
4214
|
+
),
|
|
4215
|
+
phone: (props) => /* @__PURE__ */ React33.createElement(
|
|
4216
|
+
"svg",
|
|
4217
|
+
{
|
|
4218
|
+
stroke: "currentColor",
|
|
4219
|
+
fill: "none",
|
|
4220
|
+
"stroke-width": "2",
|
|
4221
|
+
viewBox: "0 0 24 24",
|
|
4222
|
+
"aria-hidden": "true",
|
|
4223
|
+
height: "1em",
|
|
4224
|
+
width: "1em",
|
|
4225
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4226
|
+
...props
|
|
4227
|
+
},
|
|
4228
|
+
/* @__PURE__ */ React33.createElement(
|
|
4229
|
+
"path",
|
|
4230
|
+
{
|
|
4231
|
+
"stroke-linecap": "round",
|
|
4232
|
+
"stroke-linejoin": "round",
|
|
4233
|
+
d: "M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"
|
|
4234
|
+
}
|
|
4235
|
+
)
|
|
4236
|
+
),
|
|
4237
|
+
twitter: (props) => /* @__PURE__ */ React33.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4238
|
+
"path",
|
|
4239
|
+
{
|
|
4240
|
+
fill: "currentColor",
|
|
4241
|
+
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"
|
|
4242
|
+
}
|
|
4243
|
+
)),
|
|
4244
|
+
microsoft: (props) => /* @__PURE__ */ React33.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4245
|
+
"path",
|
|
4246
|
+
{
|
|
4247
|
+
fill: "currentColor",
|
|
4248
|
+
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
|
4249
|
+
}
|
|
4250
|
+
)),
|
|
4251
|
+
gitHub: (props) => /* @__PURE__ */ React33.createElement("svg", { viewBox: "0 0 438.549 438.549", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4252
|
+
"path",
|
|
4253
|
+
{
|
|
4254
|
+
fill: "currentColor",
|
|
4255
|
+
d: "M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"
|
|
4256
|
+
}
|
|
4257
|
+
)),
|
|
4258
|
+
radix: (props) => /* @__PURE__ */ React33.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4259
|
+
"path",
|
|
4260
|
+
{
|
|
4261
|
+
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
|
4262
|
+
fill: "currentcolor"
|
|
4263
|
+
}
|
|
4264
|
+
), /* @__PURE__ */ React33.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ React33.createElement(
|
|
4265
|
+
"path",
|
|
4266
|
+
{
|
|
4267
|
+
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",
|
|
4268
|
+
fill: "currentcolor"
|
|
4269
|
+
}
|
|
4270
|
+
)),
|
|
4271
|
+
aria: (props) => /* @__PURE__ */ React33.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React33.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" })),
|
|
4272
|
+
npm: (props) => /* @__PURE__ */ React33.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4273
|
+
"path",
|
|
4274
|
+
{
|
|
4275
|
+
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",
|
|
4276
|
+
fill: "currentColor"
|
|
4277
|
+
}
|
|
4278
|
+
)),
|
|
4279
|
+
yarn: (props) => /* @__PURE__ */ React33.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4280
|
+
"path",
|
|
4281
|
+
{
|
|
4282
|
+
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",
|
|
4283
|
+
fill: "currentColor"
|
|
4284
|
+
}
|
|
4285
|
+
)),
|
|
4286
|
+
pnpm: (props) => /* @__PURE__ */ React33.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4287
|
+
"path",
|
|
4288
|
+
{
|
|
4289
|
+
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",
|
|
4290
|
+
fill: "currentColor"
|
|
4291
|
+
}
|
|
4292
|
+
)),
|
|
4293
|
+
react: (props) => /* @__PURE__ */ React33.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4294
|
+
"path",
|
|
4295
|
+
{
|
|
4296
|
+
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",
|
|
4297
|
+
fill: "currentColor"
|
|
4298
|
+
}
|
|
4299
|
+
)),
|
|
4300
|
+
tailwind: (props) => /* @__PURE__ */ React33.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4301
|
+
"path",
|
|
4302
|
+
{
|
|
4303
|
+
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",
|
|
4304
|
+
fill: "currentColor"
|
|
4305
|
+
}
|
|
4306
|
+
)),
|
|
4307
|
+
google: (props) => /* @__PURE__ */ React33.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4308
|
+
"path",
|
|
4309
|
+
{
|
|
4310
|
+
fill: "currentColor",
|
|
4311
|
+
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"
|
|
4312
|
+
}
|
|
4313
|
+
)),
|
|
4314
|
+
apple: (props) => /* @__PURE__ */ React33.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4315
|
+
"path",
|
|
4316
|
+
{
|
|
4317
|
+
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",
|
|
4318
|
+
fill: "currentColor"
|
|
4319
|
+
}
|
|
4320
|
+
)),
|
|
4321
|
+
paypal: (props) => /* @__PURE__ */ React33.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React33.createElement(
|
|
4322
|
+
"path",
|
|
4323
|
+
{
|
|
4324
|
+
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",
|
|
4325
|
+
fill: "currentColor"
|
|
4326
|
+
}
|
|
4327
|
+
)),
|
|
4328
|
+
spinner: (props) => /* @__PURE__ */ React33.createElement(
|
|
4329
|
+
"svg",
|
|
4330
|
+
{
|
|
4331
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4332
|
+
width: "24",
|
|
4333
|
+
height: "24",
|
|
4334
|
+
viewBox: "0 0 24 24",
|
|
4335
|
+
fill: "none",
|
|
4336
|
+
stroke: "currentColor",
|
|
4337
|
+
strokeWidth: "2",
|
|
4338
|
+
strokeLinecap: "round",
|
|
4339
|
+
strokeLinejoin: "round",
|
|
4340
|
+
...props
|
|
4341
|
+
},
|
|
4342
|
+
/* @__PURE__ */ React33.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
4343
|
+
)
|
|
4344
|
+
};
|
|
4345
|
+
|
|
4346
|
+
// components/elements/Command.tsx
|
|
4347
|
+
import * as React34 from "react";
|
|
4348
|
+
import { Command as CommandPrimitive } from "cmdk";
|
|
4349
|
+
import { Search } from "lucide-react";
|
|
4350
|
+
var Command = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React34.createElement(
|
|
4351
|
+
CommandPrimitive,
|
|
4352
|
+
{
|
|
4353
|
+
ref,
|
|
4354
|
+
className: cn(
|
|
4355
|
+
"hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-overflow-hidden hawa-rounded-md hawa-bg-popover hawa-text-popover-foreground",
|
|
4356
|
+
className
|
|
4357
|
+
),
|
|
4358
|
+
...props
|
|
4359
|
+
}
|
|
4360
|
+
));
|
|
4361
|
+
Command.displayName = CommandPrimitive.displayName;
|
|
4362
|
+
var CommandDialog = ({ children, ...props }) => {
|
|
4363
|
+
return /* @__PURE__ */ React34.createElement(Dialog, { ...props }, /* @__PURE__ */ React34.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React34.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)));
|
|
4364
|
+
};
|
|
4365
|
+
var CommandInput = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React34.createElement(
|
|
4366
|
+
"div",
|
|
4367
|
+
{
|
|
4368
|
+
className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
|
|
4369
|
+
"cmdk-input-wrapper": ""
|
|
4370
|
+
},
|
|
4371
|
+
/* @__PURE__ */ React34.createElement(Search, { className: "hawa-mr-2 hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-opacity-50" }),
|
|
4372
|
+
/* @__PURE__ */ React34.createElement(
|
|
4373
|
+
CommandPrimitive.Input,
|
|
4374
|
+
{
|
|
4375
|
+
ref,
|
|
4376
|
+
className: cn(
|
|
4377
|
+
"hawa-flex hawa-h-11 hawa-w-full hawa-rounded-md hawa-bg-transparent hawa-py-3 hawa-text-sm hawa-outline-none placeholder:hawa-text-muted-foreground disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50",
|
|
4378
|
+
className
|
|
4379
|
+
),
|
|
4380
|
+
...props
|
|
4381
|
+
}
|
|
4382
|
+
)
|
|
4383
|
+
));
|
|
4384
|
+
CommandInput.displayName = CommandPrimitive.Input.displayName;
|
|
4385
|
+
var CommandList = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React34.createElement(
|
|
4386
|
+
CommandPrimitive.List,
|
|
4387
|
+
{
|
|
4388
|
+
ref,
|
|
4389
|
+
className: cn(
|
|
4390
|
+
"hawa-max-h-[300px] hawa-overflow-y-auto hawa-overflow-x-hidden",
|
|
4391
|
+
className
|
|
4392
|
+
),
|
|
4393
|
+
...props
|
|
4394
|
+
}
|
|
4395
|
+
));
|
|
4396
|
+
CommandList.displayName = CommandPrimitive.List.displayName;
|
|
4397
|
+
var CommandEmpty = React34.forwardRef((props, ref) => /* @__PURE__ */ React34.createElement(
|
|
4398
|
+
CommandPrimitive.Empty,
|
|
4399
|
+
{
|
|
4400
|
+
ref,
|
|
4401
|
+
className: "hawa-py-6 hawa-text-center hawa-text-sm",
|
|
4402
|
+
...props
|
|
4403
|
+
}
|
|
4404
|
+
));
|
|
4405
|
+
CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
|
|
4406
|
+
var CommandGroup = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React34.createElement(
|
|
4407
|
+
CommandPrimitive.Group,
|
|
4408
|
+
{
|
|
4409
|
+
ref,
|
|
4410
|
+
className: cn(
|
|
4411
|
+
"hawa-overflow-hidden hawa-p-1 hawa-text-foreground [&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-py-1.5 [&_[cmdk-group-heading]]:hawa-text-xs [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground",
|
|
4412
|
+
className
|
|
4413
|
+
),
|
|
4414
|
+
...props
|
|
4415
|
+
}
|
|
4416
|
+
));
|
|
4417
|
+
CommandGroup.displayName = CommandPrimitive.Group.displayName;
|
|
4418
|
+
var CommandSeparator = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React34.createElement(
|
|
4419
|
+
CommandPrimitive.Separator,
|
|
4420
|
+
{
|
|
4421
|
+
ref,
|
|
4422
|
+
className: cn("hawa--mx-1 hawa-h-px hawa-bg-border", className),
|
|
4423
|
+
...props
|
|
4424
|
+
}
|
|
4425
|
+
));
|
|
4426
|
+
CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
|
|
4427
|
+
var CommandItem = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React34.createElement(
|
|
4428
|
+
CommandPrimitive.Item,
|
|
4429
|
+
{
|
|
4430
|
+
ref,
|
|
4431
|
+
className: cn(
|
|
4432
|
+
"hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
|
|
4433
|
+
className
|
|
4434
|
+
),
|
|
4435
|
+
...props
|
|
4436
|
+
}
|
|
4437
|
+
));
|
|
4438
|
+
CommandItem.displayName = CommandPrimitive.Item.displayName;
|
|
4439
|
+
var CommandShortcut = ({
|
|
4440
|
+
className,
|
|
4441
|
+
...props
|
|
4442
|
+
}) => {
|
|
4443
|
+
return /* @__PURE__ */ React34.createElement(
|
|
4444
|
+
"span",
|
|
4445
|
+
{
|
|
4446
|
+
className: cn(
|
|
4447
|
+
"hawa-ml-auto hawa-text-xs hawa-tracking-widest hawa-text-muted-foreground",
|
|
4448
|
+
className
|
|
4449
|
+
),
|
|
4450
|
+
...props
|
|
4451
|
+
}
|
|
4452
|
+
);
|
|
4453
|
+
};
|
|
4454
|
+
CommandShortcut.displayName = "CommandShortcut";
|
|
4042
4455
|
export {
|
|
4043
4456
|
ActionCard,
|
|
4044
4457
|
Alert,
|
|
@@ -4056,6 +4469,15 @@ export {
|
|
|
4056
4469
|
Chip,
|
|
4057
4470
|
CodeBlock,
|
|
4058
4471
|
ColorPicker,
|
|
4472
|
+
Command,
|
|
4473
|
+
CommandDialog,
|
|
4474
|
+
CommandEmpty,
|
|
4475
|
+
CommandGroup,
|
|
4476
|
+
CommandInput,
|
|
4477
|
+
CommandItem,
|
|
4478
|
+
CommandList,
|
|
4479
|
+
CommandSeparator,
|
|
4480
|
+
CommandShortcut,
|
|
4059
4481
|
Dialog,
|
|
4060
4482
|
DialogContent,
|
|
4061
4483
|
DialogDescription,
|
|
@@ -4068,11 +4490,16 @@ export {
|
|
|
4068
4490
|
Input,
|
|
4069
4491
|
Label,
|
|
4070
4492
|
Loading,
|
|
4493
|
+
Logos,
|
|
4071
4494
|
PhoneInput,
|
|
4072
4495
|
PinInput,
|
|
4073
4496
|
Popover,
|
|
4074
4497
|
PopoverContent,
|
|
4498
|
+
PopoverTrigger,
|
|
4075
4499
|
Radio,
|
|
4500
|
+
ScrollArea,
|
|
4501
|
+
ScrollBar,
|
|
4502
|
+
Select,
|
|
4076
4503
|
Skeleton,
|
|
4077
4504
|
Slider,
|
|
4078
4505
|
Switch,
|