@sikka/hawa 0.2.45-next → 0.2.47-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 +84 -20
- package/dist/index.d.mts +21 -9
- package/dist/index.d.ts +21 -9
- package/dist/index.js +412 -121
- package/dist/index.mjs +406 -94
- package/package.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -3697,7 +3697,8 @@ var Input = ({
|
|
|
3697
3697
|
let widthStyles = {
|
|
3698
3698
|
small: "hawa-w-full hawa-max-w-2xs",
|
|
3699
3699
|
normal: "hawa-w-1/2",
|
|
3700
|
-
full: "hawa-w-full"
|
|
3700
|
+
full: "hawa-w-full",
|
|
3701
|
+
auto: ""
|
|
3701
3702
|
};
|
|
3702
3703
|
let defaultStyle = "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-2";
|
|
3703
3704
|
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 ";
|
|
@@ -3708,7 +3709,8 @@ var Input = ({
|
|
|
3708
3709
|
defaultStyle,
|
|
3709
3710
|
marginStyles[margin],
|
|
3710
3711
|
widthStyles[width],
|
|
3711
|
-
props.
|
|
3712
|
+
props.containerClassName,
|
|
3713
|
+
"hawa-w-full"
|
|
3712
3714
|
)
|
|
3713
3715
|
},
|
|
3714
3716
|
props.label && /* @__PURE__ */ React26.createElement(Label, null, props.label),
|
|
@@ -3723,7 +3725,6 @@ var Input = ({
|
|
|
3723
3725
|
), /* @__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
3726
|
"input",
|
|
3725
3727
|
{
|
|
3726
|
-
...props,
|
|
3727
3728
|
className: cn(
|
|
3728
3729
|
defaultInputStyle,
|
|
3729
3730
|
props.icon && "hawa-pl-10",
|
|
@@ -3731,7 +3732,12 @@ var Input = ({
|
|
|
3731
3732
|
preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
|
|
3732
3733
|
props.inputProps?.className
|
|
3733
3734
|
),
|
|
3734
|
-
|
|
3735
|
+
value: props.value,
|
|
3736
|
+
defaultValue: props.defaultValue,
|
|
3737
|
+
type: props.type,
|
|
3738
|
+
placeholder: props.placeholder,
|
|
3739
|
+
disabled: preview,
|
|
3740
|
+
style: { width: width === "auto" ? "auto" : "100%" }
|
|
3735
3741
|
}
|
|
3736
3742
|
)), 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
3743
|
);
|
|
@@ -3742,33 +3748,6 @@ import clsx7 from "clsx";
|
|
|
3742
3748
|
import React27 from "react";
|
|
3743
3749
|
import ReactSelect from "react-select";
|
|
3744
3750
|
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
|
-
};
|
|
3772
3751
|
var Menu = ({
|
|
3773
3752
|
cx,
|
|
3774
3753
|
children,
|
|
@@ -3805,6 +3784,29 @@ var Option = ({
|
|
|
3805
3784
|
children
|
|
3806
3785
|
);
|
|
3807
3786
|
var Select = (props) => {
|
|
3787
|
+
const Control = ({
|
|
3788
|
+
// cx,
|
|
3789
|
+
children,
|
|
3790
|
+
// getStyles,
|
|
3791
|
+
innerProps,
|
|
3792
|
+
innerRef
|
|
3793
|
+
// size = "normal",
|
|
3794
|
+
// ...props
|
|
3795
|
+
}) => {
|
|
3796
|
+
return /* @__PURE__ */ React27.createElement(
|
|
3797
|
+
"div",
|
|
3798
|
+
{
|
|
3799
|
+
ref: innerRef,
|
|
3800
|
+
className: clsx7(
|
|
3801
|
+
// sizeStyles[size],
|
|
3802
|
+
" hawa-text-sm hawa-flex hawa-p-2 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"
|
|
3803
|
+
// props.className
|
|
3804
|
+
),
|
|
3805
|
+
...innerProps
|
|
3806
|
+
},
|
|
3807
|
+
children
|
|
3808
|
+
);
|
|
3809
|
+
};
|
|
3808
3810
|
const NoOption = () => {
|
|
3809
3811
|
return /* @__PURE__ */ React27.createElement("div", null, props.texts?.noOptions ?? "No Items Found");
|
|
3810
3812
|
};
|
|
@@ -3813,8 +3815,13 @@ var Select = (props) => {
|
|
|
3813
3815
|
{
|
|
3814
3816
|
noOptionsMessage: NoOption,
|
|
3815
3817
|
classNames: {
|
|
3818
|
+
control: () => cn(
|
|
3819
|
+
" hawa-text-sm hawa-flex hawa-p-2 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",
|
|
3820
|
+
props.controlClassNames
|
|
3821
|
+
),
|
|
3816
3822
|
container: () => cn(
|
|
3817
3823
|
"hawa-rounded",
|
|
3824
|
+
props.containerClassNames,
|
|
3818
3825
|
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
|
3819
3826
|
),
|
|
3820
3827
|
// TODO: enable keyboard to go to the next item in the list
|
|
@@ -3822,7 +3829,7 @@ var Select = (props) => {
|
|
|
3822
3829
|
input: () => "hawa-text-primary hawa-px-2",
|
|
3823
3830
|
valueContainer: () => "hawa-text-white dark:hawa-text-muted-foreground",
|
|
3824
3831
|
singleValue: () => "hawa-text-black dark:hawa-text-white hawa-px-2",
|
|
3825
|
-
indicatorsContainer: () => " hawa-px-
|
|
3832
|
+
indicatorsContainer: () => " hawa-px-0 hawa-cursor-pointer hawa-text-muted-foreground"
|
|
3826
3833
|
},
|
|
3827
3834
|
unstyled: true,
|
|
3828
3835
|
isDisabled: props.disabled,
|
|
@@ -3837,7 +3844,7 @@ var Select = (props) => {
|
|
|
3837
3844
|
props.onChange(newValue, action)
|
|
3838
3845
|
),
|
|
3839
3846
|
components: {
|
|
3840
|
-
Control,
|
|
3847
|
+
// Control,
|
|
3841
3848
|
Option,
|
|
3842
3849
|
Menu
|
|
3843
3850
|
},
|
|
@@ -3849,7 +3856,7 @@ var Select = (props) => {
|
|
|
3849
3856
|
formatCreateLabel: (inputValue) => `${props.texts?.createLabel ?? "Create"} "${inputValue}"`,
|
|
3850
3857
|
classNames: {
|
|
3851
3858
|
container: () => cn(
|
|
3852
|
-
"hawa-rounded",
|
|
3859
|
+
"hawa-rounded ",
|
|
3853
3860
|
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
|
3854
3861
|
),
|
|
3855
3862
|
placeholder: () => "hawa-px-2 hawa-text-muted-foreground",
|
|
@@ -3878,9 +3885,11 @@ var Select = (props) => {
|
|
|
3878
3885
|
// components/elements/PhoneInput.tsx
|
|
3879
3886
|
var PhoneInput = (props) => {
|
|
3880
3887
|
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(
|
|
3888
|
+
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 hawa-w-full " }, /* @__PURE__ */ React28.createElement(
|
|
3882
3889
|
Select,
|
|
3883
3890
|
{
|
|
3891
|
+
controlClassNames: "hawa-rounded-r-none",
|
|
3892
|
+
containerClassNames: "hawa-w-[100px] hawa-p-0 hawa-rounded-r-none",
|
|
3884
3893
|
options: countries_default,
|
|
3885
3894
|
isMulti: false,
|
|
3886
3895
|
isSearchable: true,
|
|
@@ -3895,11 +3904,12 @@ var PhoneInput = (props) => {
|
|
|
3895
3904
|
onChange: props.handleChange,
|
|
3896
3905
|
type: "number",
|
|
3897
3906
|
placeholder: "531045453",
|
|
3907
|
+
width: "auto",
|
|
3898
3908
|
inputProps: {
|
|
3899
|
-
className: "hawa-border-l-0 hawa-border-l-transparent"
|
|
3909
|
+
className: "input-inside-input hawa-border-l-0 hawa-border-l-transparent hawa-rounded-l-none "
|
|
3900
3910
|
}
|
|
3901
3911
|
}
|
|
3902
|
-
), props.helperText && /* @__PURE__ */ React28.createElement("p", { className: "hawa-mb-1
|
|
3912
|
+
), 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)));
|
|
3903
3913
|
};
|
|
3904
3914
|
|
|
3905
3915
|
// components/elements/AppStores.tsx
|
|
@@ -3968,8 +3978,246 @@ var AppStores = (props) => {
|
|
|
3968
3978
|
))), /* @__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")))));
|
|
3969
3979
|
};
|
|
3970
3980
|
|
|
3981
|
+
// components/elements/Separator.tsx
|
|
3982
|
+
import * as React30 from "react";
|
|
3983
|
+
|
|
3984
|
+
// node_modules/@babel/runtime/helpers/esm/extends.js
|
|
3985
|
+
function _extends() {
|
|
3986
|
+
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
3987
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
3988
|
+
var source = arguments[i];
|
|
3989
|
+
for (var key in source) {
|
|
3990
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
3991
|
+
target[key] = source[key];
|
|
3992
|
+
}
|
|
3993
|
+
}
|
|
3994
|
+
}
|
|
3995
|
+
return target;
|
|
3996
|
+
};
|
|
3997
|
+
return _extends.apply(this, arguments);
|
|
3998
|
+
}
|
|
3999
|
+
|
|
4000
|
+
// node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
4001
|
+
import { forwardRef as $5WXm8$forwardRef, createElement as $5WXm8$createElement } from "react";
|
|
4002
|
+
|
|
4003
|
+
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
4004
|
+
import { forwardRef as $4q5Fq$forwardRef, useEffect as $4q5Fq$useEffect, createElement as $4q5Fq$createElement } from "react";
|
|
4005
|
+
import { flushSync as $4q5Fq$flushSync } from "react-dom";
|
|
4006
|
+
|
|
4007
|
+
// node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
4008
|
+
import { forwardRef as $9IrjX$forwardRef, Children as $9IrjX$Children, isValidElement as $9IrjX$isValidElement, createElement as $9IrjX$createElement, cloneElement as $9IrjX$cloneElement, Fragment as $9IrjX$Fragment } from "react";
|
|
4009
|
+
|
|
4010
|
+
// node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
4011
|
+
import { useCallback as $3vqmr$useCallback } from "react";
|
|
4012
|
+
function $6ed0406888f73fc4$var$setRef(ref, value) {
|
|
4013
|
+
if (typeof ref === "function")
|
|
4014
|
+
ref(value);
|
|
4015
|
+
else if (ref !== null && ref !== void 0)
|
|
4016
|
+
ref.current = value;
|
|
4017
|
+
}
|
|
4018
|
+
function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
|
|
4019
|
+
return (node) => refs.forEach(
|
|
4020
|
+
(ref) => $6ed0406888f73fc4$var$setRef(ref, node)
|
|
4021
|
+
);
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
// node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
4025
|
+
var $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ $9IrjX$forwardRef((props, forwardedRef) => {
|
|
4026
|
+
const { children, ...slotProps } = props;
|
|
4027
|
+
const childrenArray = $9IrjX$Children.toArray(children);
|
|
4028
|
+
const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
|
|
4029
|
+
if (slottable) {
|
|
4030
|
+
const newElement = slottable.props.children;
|
|
4031
|
+
const newChildren = childrenArray.map((child) => {
|
|
4032
|
+
if (child === slottable) {
|
|
4033
|
+
if ($9IrjX$Children.count(newElement) > 1)
|
|
4034
|
+
return $9IrjX$Children.only(null);
|
|
4035
|
+
return /* @__PURE__ */ $9IrjX$isValidElement(newElement) ? newElement.props.children : null;
|
|
4036
|
+
} else
|
|
4037
|
+
return child;
|
|
4038
|
+
});
|
|
4039
|
+
return /* @__PURE__ */ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
4040
|
+
ref: forwardedRef
|
|
4041
|
+
}), /* @__PURE__ */ $9IrjX$isValidElement(newElement) ? /* @__PURE__ */ $9IrjX$cloneElement(newElement, void 0, newChildren) : null);
|
|
4042
|
+
}
|
|
4043
|
+
return /* @__PURE__ */ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
4044
|
+
ref: forwardedRef
|
|
4045
|
+
}), children);
|
|
4046
|
+
});
|
|
4047
|
+
$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = "Slot";
|
|
4048
|
+
var $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */ $9IrjX$forwardRef((props, forwardedRef) => {
|
|
4049
|
+
const { children, ...slotProps } = props;
|
|
4050
|
+
if (/* @__PURE__ */ $9IrjX$isValidElement(children))
|
|
4051
|
+
return /* @__PURE__ */ $9IrjX$cloneElement(children, {
|
|
4052
|
+
...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
|
|
4053
|
+
ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
|
|
4054
|
+
});
|
|
4055
|
+
return $9IrjX$Children.count(children) > 1 ? $9IrjX$Children.only(null) : null;
|
|
4056
|
+
});
|
|
4057
|
+
$5e63c961fc1ce211$var$SlotClone.displayName = "SlotClone";
|
|
4058
|
+
var $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children }) => {
|
|
4059
|
+
return /* @__PURE__ */ $9IrjX$createElement($9IrjX$Fragment, null, children);
|
|
4060
|
+
};
|
|
4061
|
+
function $5e63c961fc1ce211$var$isSlottable(child) {
|
|
4062
|
+
return /* @__PURE__ */ $9IrjX$isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
|
|
4063
|
+
}
|
|
4064
|
+
function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
4065
|
+
const overrideProps = {
|
|
4066
|
+
...childProps
|
|
4067
|
+
};
|
|
4068
|
+
for (const propName in childProps) {
|
|
4069
|
+
const slotPropValue = slotProps[propName];
|
|
4070
|
+
const childPropValue = childProps[propName];
|
|
4071
|
+
const isHandler = /^on[A-Z]/.test(propName);
|
|
4072
|
+
if (isHandler) {
|
|
4073
|
+
if (slotPropValue && childPropValue)
|
|
4074
|
+
overrideProps[propName] = (...args) => {
|
|
4075
|
+
childPropValue(...args);
|
|
4076
|
+
slotPropValue(...args);
|
|
4077
|
+
};
|
|
4078
|
+
else if (slotPropValue)
|
|
4079
|
+
overrideProps[propName] = slotPropValue;
|
|
4080
|
+
} else if (propName === "style")
|
|
4081
|
+
overrideProps[propName] = {
|
|
4082
|
+
...slotPropValue,
|
|
4083
|
+
...childPropValue
|
|
4084
|
+
};
|
|
4085
|
+
else if (propName === "className")
|
|
4086
|
+
overrideProps[propName] = [
|
|
4087
|
+
slotPropValue,
|
|
4088
|
+
childPropValue
|
|
4089
|
+
].filter(Boolean).join(" ");
|
|
4090
|
+
}
|
|
4091
|
+
return {
|
|
4092
|
+
...slotProps,
|
|
4093
|
+
...overrideProps
|
|
4094
|
+
};
|
|
4095
|
+
}
|
|
4096
|
+
|
|
4097
|
+
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
4098
|
+
var $8927f6f2acc4f386$var$NODES = [
|
|
4099
|
+
"a",
|
|
4100
|
+
"button",
|
|
4101
|
+
"div",
|
|
4102
|
+
"form",
|
|
4103
|
+
"h2",
|
|
4104
|
+
"h3",
|
|
4105
|
+
"img",
|
|
4106
|
+
"input",
|
|
4107
|
+
"label",
|
|
4108
|
+
"li",
|
|
4109
|
+
"nav",
|
|
4110
|
+
"ol",
|
|
4111
|
+
"p",
|
|
4112
|
+
"span",
|
|
4113
|
+
"svg",
|
|
4114
|
+
"ul"
|
|
4115
|
+
];
|
|
4116
|
+
var $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.reduce((primitive, node) => {
|
|
4117
|
+
const Node = /* @__PURE__ */ $4q5Fq$forwardRef((props, forwardedRef) => {
|
|
4118
|
+
const { asChild, ...primitiveProps } = props;
|
|
4119
|
+
const Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : node;
|
|
4120
|
+
$4q5Fq$useEffect(() => {
|
|
4121
|
+
window[Symbol.for("radix-ui")] = true;
|
|
4122
|
+
}, []);
|
|
4123
|
+
return /* @__PURE__ */ $4q5Fq$createElement(Comp, _extends({}, primitiveProps, {
|
|
4124
|
+
ref: forwardedRef
|
|
4125
|
+
}));
|
|
4126
|
+
});
|
|
4127
|
+
Node.displayName = `Primitive.${node}`;
|
|
4128
|
+
return {
|
|
4129
|
+
...primitive,
|
|
4130
|
+
[node]: Node
|
|
4131
|
+
};
|
|
4132
|
+
}, {});
|
|
4133
|
+
|
|
4134
|
+
// node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
4135
|
+
var $89eedd556c436f6a$var$DEFAULT_ORIENTATION = "horizontal";
|
|
4136
|
+
var $89eedd556c436f6a$var$ORIENTATIONS = [
|
|
4137
|
+
"horizontal",
|
|
4138
|
+
"vertical"
|
|
4139
|
+
];
|
|
4140
|
+
var $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /* @__PURE__ */ $5WXm8$forwardRef((props, forwardedRef) => {
|
|
4141
|
+
const { decorative, orientation: orientationProp = $89eedd556c436f6a$var$DEFAULT_ORIENTATION, ...domProps } = props;
|
|
4142
|
+
const orientation = $89eedd556c436f6a$var$isValidOrientation(orientationProp) ? orientationProp : $89eedd556c436f6a$var$DEFAULT_ORIENTATION;
|
|
4143
|
+
const ariaOrientation = orientation === "vertical" ? orientation : void 0;
|
|
4144
|
+
const semanticProps = decorative ? {
|
|
4145
|
+
role: "none"
|
|
4146
|
+
} : {
|
|
4147
|
+
"aria-orientation": ariaOrientation,
|
|
4148
|
+
role: "separator"
|
|
4149
|
+
};
|
|
4150
|
+
return /* @__PURE__ */ $5WXm8$createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
4151
|
+
"data-orientation": orientation
|
|
4152
|
+
}, semanticProps, domProps, {
|
|
4153
|
+
ref: forwardedRef
|
|
4154
|
+
}));
|
|
4155
|
+
});
|
|
4156
|
+
$89eedd556c436f6a$export$1ff3c3f08ae963c0.propTypes = {
|
|
4157
|
+
orientation(props, propName, componentName) {
|
|
4158
|
+
const propValue = props[propName];
|
|
4159
|
+
const strVal = String(propValue);
|
|
4160
|
+
if (propValue && !$89eedd556c436f6a$var$isValidOrientation(propValue))
|
|
4161
|
+
return new Error($89eedd556c436f6a$var$getInvalidOrientationError(strVal, componentName));
|
|
4162
|
+
return null;
|
|
4163
|
+
}
|
|
4164
|
+
};
|
|
4165
|
+
function $89eedd556c436f6a$var$getInvalidOrientationError(value, componentName) {
|
|
4166
|
+
return `Invalid prop \`orientation\` of value \`${value}\` supplied to \`${componentName}\`, expected one of:
|
|
4167
|
+
- horizontal
|
|
4168
|
+
- vertical
|
|
4169
|
+
|
|
4170
|
+
Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
4171
|
+
}
|
|
4172
|
+
function $89eedd556c436f6a$var$isValidOrientation(orientation) {
|
|
4173
|
+
return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);
|
|
4174
|
+
}
|
|
4175
|
+
var $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
|
|
4176
|
+
|
|
4177
|
+
// components/elements/Separator.tsx
|
|
4178
|
+
var Separator2 = React30.forwardRef(
|
|
4179
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ React30.createElement(
|
|
4180
|
+
$89eedd556c436f6a$export$be92b6f5f03c0fe9,
|
|
4181
|
+
{
|
|
4182
|
+
ref,
|
|
4183
|
+
decorative,
|
|
4184
|
+
orientation,
|
|
4185
|
+
className: cn(
|
|
4186
|
+
"hawa-shrink-0 hawa-bg-border",
|
|
4187
|
+
orientation === "horizontal" ? "hawa-h-[1px] hawa-w-full" : "hawa-h-full hawa-w-[1px]",
|
|
4188
|
+
className
|
|
4189
|
+
),
|
|
4190
|
+
...props
|
|
4191
|
+
}
|
|
4192
|
+
)
|
|
4193
|
+
);
|
|
4194
|
+
Separator2.displayName = $89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;
|
|
4195
|
+
|
|
4196
|
+
// components/elements/Progress.tsx
|
|
4197
|
+
import * as React31 from "react";
|
|
4198
|
+
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
4199
|
+
var Progress = React31.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React31.createElement(
|
|
4200
|
+
ProgressPrimitive.Root,
|
|
4201
|
+
{
|
|
4202
|
+
ref,
|
|
4203
|
+
className: cn(
|
|
4204
|
+
"hawa-relative hawa-h-4 hawa-w-full hawa-overflow-hidden hawa-rounded hawa-bg-secondary",
|
|
4205
|
+
className
|
|
4206
|
+
),
|
|
4207
|
+
...props
|
|
4208
|
+
},
|
|
4209
|
+
/* @__PURE__ */ React31.createElement(
|
|
4210
|
+
ProgressPrimitive.Indicator,
|
|
4211
|
+
{
|
|
4212
|
+
className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
|
|
4213
|
+
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
4214
|
+
}
|
|
4215
|
+
)
|
|
4216
|
+
));
|
|
4217
|
+
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
4218
|
+
|
|
3971
4219
|
// components/elements/BackToTop.tsx
|
|
3972
|
-
import
|
|
4220
|
+
import React32, { useState as useState12, useEffect as useEffect7, useRef as useRef4 } from "react";
|
|
3973
4221
|
import { clsx as clsx8 } from "clsx";
|
|
3974
4222
|
var BackToTop = ({ ...props }) => {
|
|
3975
4223
|
const [visible, setVisible] = useState12(false);
|
|
@@ -4033,7 +4281,7 @@ var BackToTop = ({ ...props }) => {
|
|
|
4033
4281
|
};
|
|
4034
4282
|
return style;
|
|
4035
4283
|
};
|
|
4036
|
-
return /* @__PURE__ */
|
|
4284
|
+
return /* @__PURE__ */ React32.createElement(
|
|
4037
4285
|
Button,
|
|
4038
4286
|
{
|
|
4039
4287
|
className: cn(
|
|
@@ -4048,7 +4296,7 @@ var BackToTop = ({ ...props }) => {
|
|
|
4048
4296
|
ref: self,
|
|
4049
4297
|
size: "icon"
|
|
4050
4298
|
},
|
|
4051
|
-
/* @__PURE__ */
|
|
4299
|
+
/* @__PURE__ */ React32.createElement(
|
|
4052
4300
|
"svg",
|
|
4053
4301
|
{
|
|
4054
4302
|
className: clsx8(
|
|
@@ -4058,16 +4306,16 @@ var BackToTop = ({ ...props }) => {
|
|
|
4058
4306
|
viewBox: "0 0 20 20",
|
|
4059
4307
|
fill: "currentColor"
|
|
4060
4308
|
},
|
|
4061
|
-
/* @__PURE__ */
|
|
4309
|
+
/* @__PURE__ */ React32.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" })
|
|
4062
4310
|
)
|
|
4063
4311
|
);
|
|
4064
4312
|
};
|
|
4065
4313
|
|
|
4066
4314
|
// components/elements/Tabs.tsx
|
|
4067
|
-
import * as
|
|
4315
|
+
import * as React33 from "react";
|
|
4068
4316
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4069
|
-
var TabsContext =
|
|
4070
|
-
var Tabs =
|
|
4317
|
+
var TabsContext = React33.createContext({ orientation: "vertical" });
|
|
4318
|
+
var Tabs = React33.forwardRef(({ className, orientation, ...props }, ref) => /* @__PURE__ */ React33.createElement(
|
|
4071
4319
|
TabsPrimitive.Root,
|
|
4072
4320
|
{
|
|
4073
4321
|
ref,
|
|
@@ -4078,13 +4326,13 @@ var Tabs = React31.forwardRef(({ className, orientation, ...props }, ref) => /*
|
|
|
4078
4326
|
),
|
|
4079
4327
|
...props
|
|
4080
4328
|
},
|
|
4081
|
-
/* @__PURE__ */
|
|
4329
|
+
/* @__PURE__ */ React33.createElement(TabsContext.Provider, { value: { orientation } }, props.children)
|
|
4082
4330
|
));
|
|
4083
4331
|
Tabs.displayName = TabsPrimitive.Root.displayName;
|
|
4084
|
-
var TabsList =
|
|
4085
|
-
const { orientation } =
|
|
4332
|
+
var TabsList = React33.forwardRef(({ className, ...props }, ref) => {
|
|
4333
|
+
const { orientation } = React33.useContext(TabsContext);
|
|
4086
4334
|
console.log("orient ", orientation);
|
|
4087
|
-
return /* @__PURE__ */
|
|
4335
|
+
return /* @__PURE__ */ React33.createElement(
|
|
4088
4336
|
TabsPrimitive.List,
|
|
4089
4337
|
{
|
|
4090
4338
|
ref,
|
|
@@ -4098,8 +4346,8 @@ var TabsList = React31.forwardRef(({ className, ...props }, ref) => {
|
|
|
4098
4346
|
);
|
|
4099
4347
|
});
|
|
4100
4348
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
4101
|
-
var TabsTrigger =
|
|
4102
|
-
return /* @__PURE__ */
|
|
4349
|
+
var TabsTrigger = React33.forwardRef(({ className, ...props }, ref) => {
|
|
4350
|
+
return /* @__PURE__ */ React33.createElement(
|
|
4103
4351
|
TabsPrimitive.Trigger,
|
|
4104
4352
|
{
|
|
4105
4353
|
ref,
|
|
@@ -4112,7 +4360,7 @@ var TabsTrigger = React31.forwardRef(({ className, ...props }, ref) => {
|
|
|
4112
4360
|
);
|
|
4113
4361
|
});
|
|
4114
4362
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
4115
|
-
var TabsContent =
|
|
4363
|
+
var TabsContent = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React33.createElement(
|
|
4116
4364
|
TabsPrimitive.Content,
|
|
4117
4365
|
{
|
|
4118
4366
|
ref,
|
|
@@ -4126,21 +4374,21 @@ var TabsContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4126
4374
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
4127
4375
|
|
|
4128
4376
|
// components/elements/ScrollArea.tsx
|
|
4129
|
-
import * as
|
|
4377
|
+
import * as React34 from "react";
|
|
4130
4378
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
4131
|
-
var ScrollArea =
|
|
4379
|
+
var ScrollArea = React34.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React34.createElement(
|
|
4132
4380
|
ScrollAreaPrimitive.Root,
|
|
4133
4381
|
{
|
|
4134
4382
|
ref,
|
|
4135
4383
|
className: cn("hawa-relative hawa-overflow-hidden", className),
|
|
4136
4384
|
...props
|
|
4137
4385
|
},
|
|
4138
|
-
/* @__PURE__ */
|
|
4139
|
-
/* @__PURE__ */
|
|
4140
|
-
/* @__PURE__ */
|
|
4386
|
+
/* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
|
|
4387
|
+
/* @__PURE__ */ React34.createElement(ScrollBar, { orientation }),
|
|
4388
|
+
/* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.Corner, null)
|
|
4141
4389
|
));
|
|
4142
4390
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
4143
|
-
var ScrollBar =
|
|
4391
|
+
var ScrollBar = React34.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React34.createElement(
|
|
4144
4392
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
4145
4393
|
{
|
|
4146
4394
|
ref,
|
|
@@ -4153,7 +4401,7 @@ var ScrollBar = React32.forwardRef(({ className, orientation = "vertical", ...pr
|
|
|
4153
4401
|
),
|
|
4154
4402
|
...props
|
|
4155
4403
|
},
|
|
4156
|
-
/* @__PURE__ */
|
|
4404
|
+
/* @__PURE__ */ React34.createElement(
|
|
4157
4405
|
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
4158
4406
|
{
|
|
4159
4407
|
className: cn(
|
|
@@ -4166,9 +4414,9 @@ var ScrollBar = React32.forwardRef(({ className, orientation = "vertical", ...pr
|
|
|
4166
4414
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
4167
4415
|
|
|
4168
4416
|
// components/elements/Logos.tsx
|
|
4169
|
-
import
|
|
4417
|
+
import React35 from "react";
|
|
4170
4418
|
var Logos = {
|
|
4171
|
-
logo: (props) => /* @__PURE__ */
|
|
4419
|
+
logo: (props) => /* @__PURE__ */ React35.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 256 256", ...props }, /* @__PURE__ */ React35.createElement("rect", { width: "256", height: "256", fill: "none" }), /* @__PURE__ */ React35.createElement(
|
|
4172
4420
|
"line",
|
|
4173
4421
|
{
|
|
4174
4422
|
x1: "208",
|
|
@@ -4181,7 +4429,7 @@ var Logos = {
|
|
|
4181
4429
|
strokeLinejoin: "round",
|
|
4182
4430
|
strokeWidth: "16"
|
|
4183
4431
|
}
|
|
4184
|
-
), /* @__PURE__ */
|
|
4432
|
+
), /* @__PURE__ */ React35.createElement(
|
|
4185
4433
|
"line",
|
|
4186
4434
|
{
|
|
4187
4435
|
x1: "192",
|
|
@@ -4195,7 +4443,7 @@ var Logos = {
|
|
|
4195
4443
|
strokeWidth: "16"
|
|
4196
4444
|
}
|
|
4197
4445
|
)),
|
|
4198
|
-
mail: (props) => /* @__PURE__ */
|
|
4446
|
+
mail: (props) => /* @__PURE__ */ React35.createElement(
|
|
4199
4447
|
"svg",
|
|
4200
4448
|
{
|
|
4201
4449
|
stroke: "currentColor",
|
|
@@ -4209,10 +4457,10 @@ var Logos = {
|
|
|
4209
4457
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4210
4458
|
...props
|
|
4211
4459
|
},
|
|
4212
|
-
/* @__PURE__ */
|
|
4213
|
-
/* @__PURE__ */
|
|
4460
|
+
/* @__PURE__ */ React35.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" }),
|
|
4461
|
+
/* @__PURE__ */ React35.createElement("polyline", { points: "22,6 12,13 2,6" })
|
|
4214
4462
|
),
|
|
4215
|
-
phone: (props) => /* @__PURE__ */
|
|
4463
|
+
phone: (props) => /* @__PURE__ */ React35.createElement(
|
|
4216
4464
|
"svg",
|
|
4217
4465
|
{
|
|
4218
4466
|
stroke: "currentColor",
|
|
@@ -4225,7 +4473,7 @@ var Logos = {
|
|
|
4225
4473
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4226
4474
|
...props
|
|
4227
4475
|
},
|
|
4228
|
-
/* @__PURE__ */
|
|
4476
|
+
/* @__PURE__ */ React35.createElement(
|
|
4229
4477
|
"path",
|
|
4230
4478
|
{
|
|
4231
4479
|
"stroke-linecap": "round",
|
|
@@ -4234,98 +4482,98 @@ var Logos = {
|
|
|
4234
4482
|
}
|
|
4235
4483
|
)
|
|
4236
4484
|
),
|
|
4237
|
-
twitter: (props) => /* @__PURE__ */
|
|
4485
|
+
twitter: (props) => /* @__PURE__ */ React35.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4238
4486
|
"path",
|
|
4239
4487
|
{
|
|
4240
4488
|
fill: "currentColor",
|
|
4241
4489
|
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
4490
|
}
|
|
4243
4491
|
)),
|
|
4244
|
-
microsoft: (props) => /* @__PURE__ */
|
|
4492
|
+
microsoft: (props) => /* @__PURE__ */ React35.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4245
4493
|
"path",
|
|
4246
4494
|
{
|
|
4247
4495
|
fill: "currentColor",
|
|
4248
4496
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
|
4249
4497
|
}
|
|
4250
4498
|
)),
|
|
4251
|
-
gitHub: (props) => /* @__PURE__ */
|
|
4499
|
+
gitHub: (props) => /* @__PURE__ */ React35.createElement("svg", { viewBox: "0 0 438.549 438.549", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4252
4500
|
"path",
|
|
4253
4501
|
{
|
|
4254
4502
|
fill: "currentColor",
|
|
4255
4503
|
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
4504
|
}
|
|
4257
4505
|
)),
|
|
4258
|
-
radix: (props) => /* @__PURE__ */
|
|
4506
|
+
radix: (props) => /* @__PURE__ */ React35.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4259
4507
|
"path",
|
|
4260
4508
|
{
|
|
4261
4509
|
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
|
4262
4510
|
fill: "currentcolor"
|
|
4263
4511
|
}
|
|
4264
|
-
), /* @__PURE__ */
|
|
4512
|
+
), /* @__PURE__ */ React35.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ React35.createElement(
|
|
4265
4513
|
"path",
|
|
4266
4514
|
{
|
|
4267
4515
|
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
4516
|
fill: "currentcolor"
|
|
4269
4517
|
}
|
|
4270
4518
|
)),
|
|
4271
|
-
aria: (props) => /* @__PURE__ */
|
|
4272
|
-
npm: (props) => /* @__PURE__ */
|
|
4519
|
+
aria: (props) => /* @__PURE__ */ React35.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React35.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" })),
|
|
4520
|
+
npm: (props) => /* @__PURE__ */ React35.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4273
4521
|
"path",
|
|
4274
4522
|
{
|
|
4275
4523
|
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
4524
|
fill: "currentColor"
|
|
4277
4525
|
}
|
|
4278
4526
|
)),
|
|
4279
|
-
yarn: (props) => /* @__PURE__ */
|
|
4527
|
+
yarn: (props) => /* @__PURE__ */ React35.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4280
4528
|
"path",
|
|
4281
4529
|
{
|
|
4282
4530
|
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
4531
|
fill: "currentColor"
|
|
4284
4532
|
}
|
|
4285
4533
|
)),
|
|
4286
|
-
pnpm: (props) => /* @__PURE__ */
|
|
4534
|
+
pnpm: (props) => /* @__PURE__ */ React35.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4287
4535
|
"path",
|
|
4288
4536
|
{
|
|
4289
4537
|
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
4538
|
fill: "currentColor"
|
|
4291
4539
|
}
|
|
4292
4540
|
)),
|
|
4293
|
-
react: (props) => /* @__PURE__ */
|
|
4541
|
+
react: (props) => /* @__PURE__ */ React35.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4294
4542
|
"path",
|
|
4295
4543
|
{
|
|
4296
4544
|
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
4545
|
fill: "currentColor"
|
|
4298
4546
|
}
|
|
4299
4547
|
)),
|
|
4300
|
-
tailwind: (props) => /* @__PURE__ */
|
|
4548
|
+
tailwind: (props) => /* @__PURE__ */ React35.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4301
4549
|
"path",
|
|
4302
4550
|
{
|
|
4303
4551
|
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
4552
|
fill: "currentColor"
|
|
4305
4553
|
}
|
|
4306
4554
|
)),
|
|
4307
|
-
google: (props) => /* @__PURE__ */
|
|
4555
|
+
google: (props) => /* @__PURE__ */ React35.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4308
4556
|
"path",
|
|
4309
4557
|
{
|
|
4310
4558
|
fill: "currentColor",
|
|
4311
4559
|
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
4560
|
}
|
|
4313
4561
|
)),
|
|
4314
|
-
apple: (props) => /* @__PURE__ */
|
|
4562
|
+
apple: (props) => /* @__PURE__ */ React35.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4315
4563
|
"path",
|
|
4316
4564
|
{
|
|
4317
4565
|
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
4566
|
fill: "currentColor"
|
|
4319
4567
|
}
|
|
4320
4568
|
)),
|
|
4321
|
-
paypal: (props) => /* @__PURE__ */
|
|
4569
|
+
paypal: (props) => /* @__PURE__ */ React35.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React35.createElement(
|
|
4322
4570
|
"path",
|
|
4323
4571
|
{
|
|
4324
4572
|
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
4573
|
fill: "currentColor"
|
|
4326
4574
|
}
|
|
4327
4575
|
)),
|
|
4328
|
-
spinner: (props) => /* @__PURE__ */
|
|
4576
|
+
spinner: (props) => /* @__PURE__ */ React35.createElement(
|
|
4329
4577
|
"svg",
|
|
4330
4578
|
{
|
|
4331
4579
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4339,15 +4587,15 @@ var Logos = {
|
|
|
4339
4587
|
strokeLinejoin: "round",
|
|
4340
4588
|
...props
|
|
4341
4589
|
},
|
|
4342
|
-
/* @__PURE__ */
|
|
4590
|
+
/* @__PURE__ */ React35.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
4343
4591
|
)
|
|
4344
4592
|
};
|
|
4345
4593
|
|
|
4346
4594
|
// components/elements/Command.tsx
|
|
4347
|
-
import * as
|
|
4595
|
+
import * as React36 from "react";
|
|
4348
4596
|
import { Command as CommandPrimitive } from "cmdk";
|
|
4349
4597
|
import { Search } from "lucide-react";
|
|
4350
|
-
var Command =
|
|
4598
|
+
var Command = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
|
|
4351
4599
|
CommandPrimitive,
|
|
4352
4600
|
{
|
|
4353
4601
|
ref,
|
|
@@ -4360,16 +4608,16 @@ var Command = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
4360
4608
|
));
|
|
4361
4609
|
Command.displayName = CommandPrimitive.displayName;
|
|
4362
4610
|
var CommandDialog = ({ children, ...props }) => {
|
|
4363
|
-
return /* @__PURE__ */
|
|
4611
|
+
return /* @__PURE__ */ React36.createElement(Dialog, { ...props }, /* @__PURE__ */ React36.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React36.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
4612
|
};
|
|
4365
|
-
var CommandInput =
|
|
4613
|
+
var CommandInput = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
|
|
4366
4614
|
"div",
|
|
4367
4615
|
{
|
|
4368
4616
|
className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
|
|
4369
4617
|
"cmdk-input-wrapper": ""
|
|
4370
4618
|
},
|
|
4371
|
-
/* @__PURE__ */
|
|
4372
|
-
/* @__PURE__ */
|
|
4619
|
+
/* @__PURE__ */ React36.createElement(Search, { className: "hawa-mr-2 hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-opacity-50" }),
|
|
4620
|
+
/* @__PURE__ */ React36.createElement(
|
|
4373
4621
|
CommandPrimitive.Input,
|
|
4374
4622
|
{
|
|
4375
4623
|
ref,
|
|
@@ -4382,7 +4630,7 @@ var CommandInput = React34.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
4382
4630
|
)
|
|
4383
4631
|
));
|
|
4384
4632
|
CommandInput.displayName = CommandPrimitive.Input.displayName;
|
|
4385
|
-
var CommandList =
|
|
4633
|
+
var CommandList = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
|
|
4386
4634
|
CommandPrimitive.List,
|
|
4387
4635
|
{
|
|
4388
4636
|
ref,
|
|
@@ -4394,7 +4642,7 @@ var CommandList = React34.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4394
4642
|
}
|
|
4395
4643
|
));
|
|
4396
4644
|
CommandList.displayName = CommandPrimitive.List.displayName;
|
|
4397
|
-
var CommandEmpty =
|
|
4645
|
+
var CommandEmpty = React36.forwardRef((props, ref) => /* @__PURE__ */ React36.createElement(
|
|
4398
4646
|
CommandPrimitive.Empty,
|
|
4399
4647
|
{
|
|
4400
4648
|
ref,
|
|
@@ -4403,7 +4651,7 @@ var CommandEmpty = React34.forwardRef((props, ref) => /* @__PURE__ */ React34.cr
|
|
|
4403
4651
|
}
|
|
4404
4652
|
));
|
|
4405
4653
|
CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
|
|
4406
|
-
var CommandGroup =
|
|
4654
|
+
var CommandGroup = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
|
|
4407
4655
|
CommandPrimitive.Group,
|
|
4408
4656
|
{
|
|
4409
4657
|
ref,
|
|
@@ -4415,7 +4663,7 @@ var CommandGroup = React34.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
4415
4663
|
}
|
|
4416
4664
|
));
|
|
4417
4665
|
CommandGroup.displayName = CommandPrimitive.Group.displayName;
|
|
4418
|
-
var CommandSeparator =
|
|
4666
|
+
var CommandSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
|
|
4419
4667
|
CommandPrimitive.Separator,
|
|
4420
4668
|
{
|
|
4421
4669
|
ref,
|
|
@@ -4424,7 +4672,7 @@ var CommandSeparator = React34.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
4424
4672
|
}
|
|
4425
4673
|
));
|
|
4426
4674
|
CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
|
|
4427
|
-
var CommandItem =
|
|
4675
|
+
var CommandItem = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(
|
|
4428
4676
|
CommandPrimitive.Item,
|
|
4429
4677
|
{
|
|
4430
4678
|
ref,
|
|
@@ -4440,7 +4688,7 @@ var CommandShortcut = ({
|
|
|
4440
4688
|
className,
|
|
4441
4689
|
...props
|
|
4442
4690
|
}) => {
|
|
4443
|
-
return /* @__PURE__ */
|
|
4691
|
+
return /* @__PURE__ */ React36.createElement(
|
|
4444
4692
|
"span",
|
|
4445
4693
|
{
|
|
4446
4694
|
className: cn(
|
|
@@ -4452,6 +4700,67 @@ var CommandShortcut = ({
|
|
|
4452
4700
|
);
|
|
4453
4701
|
};
|
|
4454
4702
|
CommandShortcut.displayName = "CommandShortcut";
|
|
4703
|
+
|
|
4704
|
+
// components/elements/Combobox.tsx
|
|
4705
|
+
import * as React37 from "react";
|
|
4706
|
+
import { Check, ChevronsUpDown } from "lucide-react";
|
|
4707
|
+
import * as PopoverPrimitive2 from "@radix-ui/react-popover";
|
|
4708
|
+
var frameworks = [
|
|
4709
|
+
{
|
|
4710
|
+
value: "next.js",
|
|
4711
|
+
label: "Next.js"
|
|
4712
|
+
},
|
|
4713
|
+
{
|
|
4714
|
+
value: "sveltekit",
|
|
4715
|
+
label: "SvelteKit"
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
value: "nuxt.js",
|
|
4719
|
+
label: "Nuxt.js"
|
|
4720
|
+
},
|
|
4721
|
+
{
|
|
4722
|
+
value: "remix",
|
|
4723
|
+
label: "Remix"
|
|
4724
|
+
},
|
|
4725
|
+
{
|
|
4726
|
+
value: "astro",
|
|
4727
|
+
label: "Astro"
|
|
4728
|
+
}
|
|
4729
|
+
];
|
|
4730
|
+
function Combobox() {
|
|
4731
|
+
const [open, setOpen] = React37.useState(false);
|
|
4732
|
+
const [value, setValue] = React37.useState("");
|
|
4733
|
+
return /* @__PURE__ */ React37.createElement(PopoverPrimitive2.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ React37.createElement(PopoverTrigger, { asChild: true }, /* @__PURE__ */ React37.createElement(
|
|
4734
|
+
Button,
|
|
4735
|
+
{
|
|
4736
|
+
variant: "outline",
|
|
4737
|
+
role: "combobox",
|
|
4738
|
+
"aria-expanded": open,
|
|
4739
|
+
className: "hawa-w-[200px] hawa-justify-between"
|
|
4740
|
+
},
|
|
4741
|
+
value ? frameworks.find((framework) => framework.value === value)?.label : "Select framework...",
|
|
4742
|
+
/* @__PURE__ */ React37.createElement(ChevronsUpDown, { className: "hawa-ml-2 hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-opacity-50" })
|
|
4743
|
+
)), /* @__PURE__ */ React37.createElement(PopoverContent, { className: "hawa-w-[200px] hawa-p-0" }, /* @__PURE__ */ React37.createElement(Command, null, /* @__PURE__ */ React37.createElement(CommandInput, { placeholder: "Search framework..." }), /* @__PURE__ */ React37.createElement(CommandEmpty, null, "No framework found."), /* @__PURE__ */ React37.createElement(CommandGroup, null, frameworks.map((framework) => /* @__PURE__ */ React37.createElement(
|
|
4744
|
+
CommandItem,
|
|
4745
|
+
{
|
|
4746
|
+
key: framework.value,
|
|
4747
|
+
onSelect: (currentValue) => {
|
|
4748
|
+
setValue(currentValue === value ? "" : currentValue);
|
|
4749
|
+
setOpen(false);
|
|
4750
|
+
}
|
|
4751
|
+
},
|
|
4752
|
+
/* @__PURE__ */ React37.createElement(
|
|
4753
|
+
Check,
|
|
4754
|
+
{
|
|
4755
|
+
className: cn(
|
|
4756
|
+
"hawa-mr-2 hawa-h-4 hawa-w-4",
|
|
4757
|
+
value === framework.value ? "hawa-opacity-100" : "hawa-opacity-0"
|
|
4758
|
+
)
|
|
4759
|
+
}
|
|
4760
|
+
),
|
|
4761
|
+
framework.label
|
|
4762
|
+
))))));
|
|
4763
|
+
}
|
|
4455
4764
|
export {
|
|
4456
4765
|
ActionCard,
|
|
4457
4766
|
Alert,
|
|
@@ -4469,6 +4778,7 @@ export {
|
|
|
4469
4778
|
Chip,
|
|
4470
4779
|
CodeBlock,
|
|
4471
4780
|
ColorPicker,
|
|
4781
|
+
Combobox,
|
|
4472
4782
|
Command,
|
|
4473
4783
|
CommandDialog,
|
|
4474
4784
|
CommandEmpty,
|
|
@@ -4496,10 +4806,12 @@ export {
|
|
|
4496
4806
|
Popover,
|
|
4497
4807
|
PopoverContent,
|
|
4498
4808
|
PopoverTrigger,
|
|
4809
|
+
Progress,
|
|
4499
4810
|
Radio,
|
|
4500
4811
|
ScrollArea,
|
|
4501
4812
|
ScrollBar,
|
|
4502
4813
|
Select,
|
|
4814
|
+
Separator2 as Separator,
|
|
4503
4815
|
Skeleton,
|
|
4504
4816
|
Slider,
|
|
4505
4817
|
Switch,
|