@sikka/hawa 0.2.44-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 +177 -18
- package/dist/index.d.mts +95 -9
- package/dist/index.d.ts +95 -9
- package/dist/index.js +714 -197
- package/dist/index.mjs +667 -149
- package/package.json +4 -2
package/dist/index.js
CHANGED
|
@@ -263,6 +263,36 @@ __export(components_exports, {
|
|
|
263
263
|
ColorPicker: function() {
|
|
264
264
|
return ColorPicker;
|
|
265
265
|
},
|
|
266
|
+
Combobox: function() {
|
|
267
|
+
return Combobox;
|
|
268
|
+
},
|
|
269
|
+
Command: function() {
|
|
270
|
+
return Command;
|
|
271
|
+
},
|
|
272
|
+
CommandDialog: function() {
|
|
273
|
+
return CommandDialog;
|
|
274
|
+
},
|
|
275
|
+
CommandEmpty: function() {
|
|
276
|
+
return CommandEmpty;
|
|
277
|
+
},
|
|
278
|
+
CommandGroup: function() {
|
|
279
|
+
return CommandGroup;
|
|
280
|
+
},
|
|
281
|
+
CommandInput: function() {
|
|
282
|
+
return CommandInput;
|
|
283
|
+
},
|
|
284
|
+
CommandItem: function() {
|
|
285
|
+
return CommandItem;
|
|
286
|
+
},
|
|
287
|
+
CommandList: function() {
|
|
288
|
+
return CommandList;
|
|
289
|
+
},
|
|
290
|
+
CommandSeparator: function() {
|
|
291
|
+
return CommandSeparator;
|
|
292
|
+
},
|
|
293
|
+
CommandShortcut: function() {
|
|
294
|
+
return CommandShortcut;
|
|
295
|
+
},
|
|
266
296
|
Dialog: function() {
|
|
267
297
|
return Dialog;
|
|
268
298
|
},
|
|
@@ -314,6 +344,12 @@ __export(components_exports, {
|
|
|
314
344
|
PopoverContent: function() {
|
|
315
345
|
return PopoverContent;
|
|
316
346
|
},
|
|
347
|
+
PopoverTrigger: function() {
|
|
348
|
+
return PopoverTrigger;
|
|
349
|
+
},
|
|
350
|
+
Progress: function() {
|
|
351
|
+
return Progress;
|
|
352
|
+
},
|
|
317
353
|
Radio: function() {
|
|
318
354
|
return Radio;
|
|
319
355
|
},
|
|
@@ -323,6 +359,12 @@ __export(components_exports, {
|
|
|
323
359
|
ScrollBar: function() {
|
|
324
360
|
return ScrollBar;
|
|
325
361
|
},
|
|
362
|
+
Select: function() {
|
|
363
|
+
return Select;
|
|
364
|
+
},
|
|
365
|
+
Separator: function() {
|
|
366
|
+
return Separator2;
|
|
367
|
+
},
|
|
326
368
|
Skeleton: function() {
|
|
327
369
|
return Skeleton;
|
|
328
370
|
},
|
|
@@ -777,10 +819,10 @@ var CodeBlock = function(param) {
|
|
|
777
819
|
className: "hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-bg-gray-200 dark:hawa-bg-muted hawa-p-2 hawa-pb-0 hawa-text-foreground hawa-font-mono"
|
|
778
820
|
}, /* @__PURE__ */ import_react5.default.createElement("div", {
|
|
779
821
|
className: cn("hawa-mb-1 hawa-w-full hawa-max-w-[52px] hawa-rounded-inner hawa-p-2 hawa-py-1 hawa-text-center hawa-text-[1rem]")
|
|
780
|
-
}, fileName)), /* @__PURE__ */ import_react5.default.createElement("pre", null, /* @__PURE__ */ import_react5.default.createElement("
|
|
781
|
-
className: cn("hawa-relative hawa-flex hawa-w-full hawa-flex-row hawa-items-start hawa-justify-between hawa-p-0 hawa-text-left
|
|
782
|
-
}, /* @__PURE__ */ import_react5.default.createElement("
|
|
783
|
-
className: "hawa-flex hawa-min-h-[37.75px] hawa-w-full
|
|
822
|
+
}, fileName)), /* @__PURE__ */ import_react5.default.createElement("pre", null, /* @__PURE__ */ import_react5.default.createElement("div", {
|
|
823
|
+
className: cn("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 ", tabs || fileName ? "hawa-rounded-b hawa-rounded-t-none" : "hawa-rounded")
|
|
824
|
+
}, /* @__PURE__ */ import_react5.default.createElement("code", {
|
|
825
|
+
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"
|
|
784
826
|
}, tabs ? tabs[selectedTab].code : code), /* @__PURE__ */ import_react5.default.createElement("div", {
|
|
785
827
|
className: "hawa-absolute hawa-right-0 hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-p-2"
|
|
786
828
|
}, /* @__PURE__ */ import_react5.default.createElement(Tooltip, {
|
|
@@ -1468,6 +1510,7 @@ var Popover = function(_param) /* @__PURE__ */ {
|
|
|
1468
1510
|
sideOffset: sideOffset
|
|
1469
1511
|
}, children));
|
|
1470
1512
|
};
|
|
1513
|
+
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
1471
1514
|
// components/elements/Textarea.tsx
|
|
1472
1515
|
var React19 = __toESM(require("react"));
|
|
1473
1516
|
var Textarea = React19.forwardRef(function(_param, ref) {
|
|
@@ -2068,7 +2111,7 @@ var FileDropzone = function(param) {
|
|
|
2068
2111
|
}, (_texts_privacyPolicy = texts.privacyPolicy) !== null && _texts_privacyPolicy !== void 0 ? _texts_privacyPolicy : "Privacy Policy")));
|
|
2069
2112
|
};
|
|
2070
2113
|
// components/elements/PhoneInput.tsx
|
|
2071
|
-
var
|
|
2114
|
+
var import_react17 = __toESM(require("react"));
|
|
2072
2115
|
// components/countries.ts
|
|
2073
2116
|
var countries = [
|
|
2074
2117
|
{
|
|
@@ -3761,8 +3804,59 @@ var countries = [
|
|
|
3761
3804
|
}
|
|
3762
3805
|
];
|
|
3763
3806
|
var countries_default = countries;
|
|
3764
|
-
// components/elements/
|
|
3807
|
+
// components/elements/Input.tsx
|
|
3808
|
+
var import_react15 = __toESM(require("react"));
|
|
3809
|
+
var Input = function(_param) {
|
|
3810
|
+
var _param_margin = _param.margin, margin = _param_margin === void 0 ? "none" : _param_margin, _param_width = _param.width, width = _param_width === void 0 ? "full" : _param_width, _param_preview = _param.preview, preview = _param_preview === void 0 ? false : _param_preview, props = _object_without_properties(_param, [
|
|
3811
|
+
"margin",
|
|
3812
|
+
"width",
|
|
3813
|
+
"preview"
|
|
3814
|
+
]);
|
|
3815
|
+
var _props_inputProps;
|
|
3816
|
+
var marginStyles = {
|
|
3817
|
+
none: "hawa-mb-0",
|
|
3818
|
+
normal: "hawa-mb-3",
|
|
3819
|
+
large: "hawa-mb-5"
|
|
3820
|
+
};
|
|
3821
|
+
var widthStyles = {
|
|
3822
|
+
small: "hawa-w-full hawa-max-w-2xs",
|
|
3823
|
+
normal: "hawa-w-1/2",
|
|
3824
|
+
full: "hawa-w-full",
|
|
3825
|
+
auto: ""
|
|
3826
|
+
};
|
|
3827
|
+
var defaultStyle = "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-2";
|
|
3828
|
+
var 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 ";
|
|
3829
|
+
return /* @__PURE__ */ import_react15.default.createElement("div", {
|
|
3830
|
+
className: cn(defaultStyle, marginStyles[margin], widthStyles[width], props.containerClassName, "hawa-w-full")
|
|
3831
|
+
}, props.label && /* @__PURE__ */ import_react15.default.createElement(Label, null, props.label), props.isLoading ? /* @__PURE__ */ import_react15.default.createElement(Skeleton, {
|
|
3832
|
+
className: "hawa-h-[38px] hawa-w-full"
|
|
3833
|
+
}) : /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, /* @__PURE__ */ import_react15.default.createElement("div", {
|
|
3834
|
+
className: cn("hawa-absolute hawa-top-[22px] hawa-h-[0.8px] hawa-w-full hawa-bg-gray-200 hawa-transition-all dark:hawa-bg-gray-800", preview ? "hawa-opacity-100" : "hawa-opacity-0")
|
|
3835
|
+
}), /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, /* @__PURE__ */ import_react15.default.createElement("div", {
|
|
3836
|
+
className: cn("hawa-relative")
|
|
3837
|
+
}, props.icon && /* @__PURE__ */ import_react15.default.createElement("div", {
|
|
3838
|
+
className: "hawa-absolute hawa-left-3 hawa-top-1/2 hawa--translate-y-1/2"
|
|
3839
|
+
}, props.icon), /* @__PURE__ */ import_react15.default.createElement("input", {
|
|
3840
|
+
className: cn(defaultInputStyle, props.icon && "hawa-pl-10", "focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0", preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0", (_props_inputProps = props.inputProps) === null || _props_inputProps === void 0 ? void 0 : _props_inputProps.className),
|
|
3841
|
+
value: props.value,
|
|
3842
|
+
defaultValue: props.defaultValue,
|
|
3843
|
+
type: props.type,
|
|
3844
|
+
placeholder: props.placeholder,
|
|
3845
|
+
disabled: preview,
|
|
3846
|
+
style: {
|
|
3847
|
+
width: width === "auto" ? "auto" : "100%"
|
|
3848
|
+
}
|
|
3849
|
+
})), props.iconInside && /* @__PURE__ */ import_react15.default.createElement("div", {
|
|
3850
|
+
className: "hawa-absolute hawa-right-1 hawa-top-[41px] hawa--translate-y-1/2"
|
|
3851
|
+
}, props.iconInside), props.helperText && /* @__PURE__ */ import_react15.default.createElement("p", {
|
|
3852
|
+
className: "hawa-mb-0 hawa-mt-0 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500"
|
|
3853
|
+
}, props.helperText))));
|
|
3854
|
+
};
|
|
3855
|
+
// components/elements/Select.tsx
|
|
3856
|
+
var import_clsx7 = __toESM(require("clsx"));
|
|
3857
|
+
var import_react16 = __toESM(require("react"));
|
|
3765
3858
|
var import_react_select = __toESM(require("react-select"));
|
|
3859
|
+
var import_creatable = __toESM(require("react-select/creatable"));
|
|
3766
3860
|
var Menu = function(_param) {
|
|
3767
3861
|
var cx = _param.cx, children = _param.children, getStyles = _param.getStyles, innerProps = _param.innerProps, innerRef = _param.innerRef, props = _object_without_properties(_param, [
|
|
3768
3862
|
"cx",
|
|
@@ -3771,183 +3865,476 @@ var Menu = function(_param) {
|
|
|
3771
3865
|
"innerProps",
|
|
3772
3866
|
"innerRef"
|
|
3773
3867
|
]);
|
|
3774
|
-
return /* @__PURE__ */
|
|
3775
|
-
className: "hawa-absolute hawa-z-
|
|
3868
|
+
return /* @__PURE__ */ import_react16.default.createElement("div", _object_spread({
|
|
3869
|
+
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",
|
|
3776
3870
|
ref: innerRef
|
|
3777
3871
|
}, innerProps), children);
|
|
3778
3872
|
};
|
|
3779
3873
|
var Option = function(_param) /* @__PURE__ */ {
|
|
3780
|
-
var cx = _param.cx, children = _param.children, getStyles = _param.getStyles, innerProps = _param.innerProps, innerRef = _param.innerRef, props = _object_without_properties(_param, [
|
|
3874
|
+
var cx = _param.cx, children = _param.children, getStyles = _param.getStyles, innerProps = _param.innerProps, innerRef = _param.innerRef, _param_size = _param.size, size = _param_size === void 0 ? "normal" : _param_size, props = _object_without_properties(_param, [
|
|
3781
3875
|
"cx",
|
|
3782
3876
|
"children",
|
|
3783
3877
|
"getStyles",
|
|
3784
3878
|
"innerProps",
|
|
3785
|
-
"innerRef"
|
|
3879
|
+
"innerRef",
|
|
3880
|
+
"size"
|
|
3786
3881
|
]);
|
|
3787
|
-
return
|
|
3882
|
+
return import_react16.default.createElement("div", _object_spread({
|
|
3788
3883
|
ref: innerRef,
|
|
3789
|
-
className: "hawa-
|
|
3790
|
-
}, innerProps),
|
|
3791
|
-
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1"
|
|
3792
|
-
}, /* @__PURE__ */ import_react15.default.createElement("img", {
|
|
3793
|
-
className: "hawa-h-8 hawa-w-8",
|
|
3794
|
-
src: props.data.image
|
|
3795
|
-
}), /* @__PURE__ */ import_react15.default.createElement("span", {
|
|
3796
|
-
className: "hawa-text-[10px]"
|
|
3797
|
-
}, props.data.country_label)), children);
|
|
3884
|
+
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"
|
|
3885
|
+
}, innerProps), children);
|
|
3798
3886
|
};
|
|
3799
|
-
var
|
|
3800
|
-
var
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3887
|
+
var Select = function(props) {
|
|
3888
|
+
var Control = function(param) {
|
|
3889
|
+
var // cx,
|
|
3890
|
+
children = param.children, // getStyles,
|
|
3891
|
+
innerProps = param.innerProps, innerRef = param.innerRef;
|
|
3892
|
+
return /* @__PURE__ */ import_react16.default.createElement("div", _object_spread({
|
|
3893
|
+
ref: innerRef,
|
|
3894
|
+
className: (0, import_clsx7.default)(// sizeStyles[size],
|
|
3895
|
+
" 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")
|
|
3896
|
+
}, innerProps), children);
|
|
3897
|
+
};
|
|
3898
|
+
var NoOption = function() {
|
|
3899
|
+
var _props_texts;
|
|
3900
|
+
var _props_texts_noOptions;
|
|
3901
|
+
return /* @__PURE__ */ import_react16.default.createElement("div", null, (_props_texts_noOptions = (_props_texts = props.texts) === null || _props_texts === void 0 ? void 0 : _props_texts.noOptions) !== null && _props_texts_noOptions !== void 0 ? _props_texts_noOptions : "No Items Found");
|
|
3902
|
+
};
|
|
3903
|
+
return /* @__PURE__ */ import_react16.default.createElement("div", {
|
|
3904
|
+
className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-2"
|
|
3905
|
+
}, props.label && /* @__PURE__ */ import_react16.default.createElement(Label, null, props.label), props.isLoading ? /* @__PURE__ */ import_react16.default.createElement(Skeleton, {
|
|
3906
|
+
className: "hawa-h-[38px] hawa-w-full"
|
|
3907
|
+
}) : !props.isCreatable ? /* @__PURE__ */ import_react16.default.createElement(import_react_select.default, {
|
|
3908
|
+
noOptionsMessage: NoOption,
|
|
3809
3909
|
classNames: {
|
|
3810
3910
|
control: function() {
|
|
3811
|
-
return "hawa-
|
|
3911
|
+
return cn(" 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", props.controlClassNames);
|
|
3812
3912
|
},
|
|
3813
|
-
|
|
3814
|
-
return "hawa-
|
|
3913
|
+
container: function() {
|
|
3914
|
+
return cn("hawa-rounded", props.containerClassNames, props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer");
|
|
3815
3915
|
},
|
|
3816
|
-
|
|
3817
|
-
|
|
3916
|
+
// TODO: enable keyboard to go to the next item in the list
|
|
3917
|
+
placeholder: function() {
|
|
3918
|
+
return "hawa-px-2 hawa-text-muted-foreground";
|
|
3919
|
+
},
|
|
3920
|
+
input: function() {
|
|
3921
|
+
return "hawa-text-primary hawa-px-2";
|
|
3818
3922
|
},
|
|
3819
3923
|
valueContainer: function() {
|
|
3820
|
-
return "hawa-
|
|
3924
|
+
return "hawa-text-white dark:hawa-text-muted-foreground";
|
|
3925
|
+
},
|
|
3926
|
+
singleValue: function() {
|
|
3927
|
+
return "hawa-text-black dark:hawa-text-white hawa-px-2";
|
|
3928
|
+
},
|
|
3929
|
+
indicatorsContainer: function() {
|
|
3930
|
+
return " hawa-px-0 hawa-cursor-pointer hawa-text-muted-foreground";
|
|
3821
3931
|
}
|
|
3822
3932
|
},
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3933
|
+
unstyled: true,
|
|
3934
|
+
isDisabled: props.disabled,
|
|
3935
|
+
options: props.options,
|
|
3936
|
+
defaultValue: props.defaultValue,
|
|
3937
|
+
isClearable: props.isClearable,
|
|
3938
|
+
isMulti: props.isMulti,
|
|
3939
|
+
isSearchable: props.isSearchable,
|
|
3940
|
+
autoFocus: true,
|
|
3941
|
+
onChange: function(newValue, action) {
|
|
3942
|
+
return(// props.onChange(newValue.label, action)
|
|
3943
|
+
props.onChange(newValue, action));
|
|
3830
3944
|
},
|
|
3831
3945
|
components: {
|
|
3946
|
+
// Control,
|
|
3832
3947
|
Option: Option,
|
|
3833
|
-
Menu: Menu
|
|
3834
|
-
|
|
3835
|
-
|
|
3948
|
+
Menu: Menu
|
|
3949
|
+
},
|
|
3950
|
+
getOptionLabel: props.getOptionLabel
|
|
3951
|
+
}) : /* @__PURE__ */ import_react16.default.createElement(import_creatable.default, {
|
|
3952
|
+
formatCreateLabel: function(inputValue) {
|
|
3953
|
+
var _props_texts;
|
|
3954
|
+
var _props_texts_createLabel;
|
|
3955
|
+
return "".concat((_props_texts_createLabel = (_props_texts = props.texts) === null || _props_texts === void 0 ? void 0 : _props_texts.createLabel) !== null && _props_texts_createLabel !== void 0 ? _props_texts_createLabel : "Create", ' "').concat(inputValue, '"');
|
|
3956
|
+
},
|
|
3957
|
+
classNames: {
|
|
3958
|
+
container: function() {
|
|
3959
|
+
return cn("hawa-rounded ", props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer");
|
|
3836
3960
|
},
|
|
3837
|
-
|
|
3838
|
-
return
|
|
3961
|
+
placeholder: function() {
|
|
3962
|
+
return "hawa-px-2 hawa-text-muted-foreground";
|
|
3963
|
+
},
|
|
3964
|
+
input: function() {
|
|
3965
|
+
return "hawa-text-primary hawa-px-2";
|
|
3966
|
+
},
|
|
3967
|
+
valueContainer: function() {
|
|
3968
|
+
return "hawa-text-white dark:hawa-text-muted-foreground";
|
|
3969
|
+
},
|
|
3970
|
+
singleValue: function() {
|
|
3971
|
+
return "hawa-text-black dark:hawa-text-white hawa-px-2";
|
|
3972
|
+
},
|
|
3973
|
+
indicatorsContainer: function() {
|
|
3974
|
+
return " hawa-px-2 hawa-cursor-pointer hawa-text-muted-foreground";
|
|
3839
3975
|
}
|
|
3840
3976
|
},
|
|
3977
|
+
unstyled: true,
|
|
3978
|
+
options: props.options,
|
|
3979
|
+
isClearable: props.isClearable,
|
|
3980
|
+
isMulti: props.isMulti,
|
|
3981
|
+
isSearchable: props.isSearchable,
|
|
3982
|
+
onCreateOption: function() {
|
|
3983
|
+
return console.log("im changing");
|
|
3984
|
+
},
|
|
3985
|
+
onChange: function(newValue, action) {
|
|
3986
|
+
return props.onChange(newValue, action);
|
|
3987
|
+
},
|
|
3988
|
+
onInputChange: function(newValue, action) {
|
|
3989
|
+
return props.onInputChange(newValue, action);
|
|
3990
|
+
},
|
|
3991
|
+
components: {
|
|
3992
|
+
Control: Control,
|
|
3993
|
+
Option: Option,
|
|
3994
|
+
Menu: Menu
|
|
3995
|
+
}
|
|
3996
|
+
}), props.helperText && /* @__PURE__ */ import_react16.default.createElement("p", {
|
|
3997
|
+
className: "hawa-mt-2 hawa-text-sm hawa-text-red-600 dark:hawa-text-red-500"
|
|
3998
|
+
}, props.helperText));
|
|
3999
|
+
};
|
|
4000
|
+
// components/elements/PhoneInput.tsx
|
|
4001
|
+
var PhoneInput = function(props) {
|
|
4002
|
+
var _ref = _sliced_to_array((0, import_react17.useState)("+966"), 2), selectedCountry = _ref[0], setSelectedCountry = _ref[1];
|
|
4003
|
+
return /* @__PURE__ */ import_react17.default.createElement("div", {
|
|
4004
|
+
className: "hawa-mb-3 hawa-flex hawa-flex-col"
|
|
4005
|
+
}, props.label && /* @__PURE__ */ import_react17.default.createElement("label", {
|
|
4006
|
+
className: "hawa-mb-2 hawa-block hawa-text-sm hawa-font-medium"
|
|
4007
|
+
}, props.label), /* @__PURE__ */ import_react17.default.createElement("div", {
|
|
4008
|
+
dir: "ltr",
|
|
4009
|
+
className: "hawa-flex hawa-flex-row hawa-w-full "
|
|
4010
|
+
}, /* @__PURE__ */ import_react17.default.createElement(Select, {
|
|
4011
|
+
controlClassNames: "hawa-rounded-r-none",
|
|
4012
|
+
containerClassNames: "hawa-w-[100px] hawa-p-0 hawa-rounded-r-none",
|
|
3841
4013
|
options: countries_default,
|
|
3842
4014
|
isMulti: false,
|
|
3843
4015
|
isSearchable: true,
|
|
3844
4016
|
isClearable: false,
|
|
3845
|
-
placeholder: "+966",
|
|
3846
|
-
unstyled: true,
|
|
3847
4017
|
defaultValue: props.preferredCountry,
|
|
3848
4018
|
value: selectedCountry,
|
|
3849
4019
|
onChange: function(newValue, action) {
|
|
3850
4020
|
return setSelectedCountry(newValue);
|
|
3851
4021
|
}
|
|
3852
|
-
}), /* @__PURE__ */
|
|
4022
|
+
}), /* @__PURE__ */ import_react17.default.createElement(Input, {
|
|
3853
4023
|
onChange: props.handleChange,
|
|
3854
4024
|
type: "number",
|
|
3855
4025
|
placeholder: "531045453",
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
4026
|
+
width: "auto",
|
|
4027
|
+
inputProps: {
|
|
4028
|
+
className: "input-inside-input hawa-border-l-0 hawa-border-l-transparent hawa-rounded-l-none "
|
|
4029
|
+
}
|
|
4030
|
+
}), props.helperText && /* @__PURE__ */ import_react17.default.createElement("p", {
|
|
4031
|
+
className: "hawa-mb-1 hawa-mt-1 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500"
|
|
3859
4032
|
}, props.helperText)));
|
|
3860
4033
|
};
|
|
3861
4034
|
// components/elements/AppStores.tsx
|
|
3862
|
-
var
|
|
4035
|
+
var import_react18 = __toESM(require("react"));
|
|
3863
4036
|
var AppStores = function(props) {
|
|
3864
|
-
return /* @__PURE__ */
|
|
4037
|
+
return /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3865
4038
|
className: "hawa-flex hawa-justify-center"
|
|
3866
|
-
}, /* @__PURE__ */
|
|
4039
|
+
}, /* @__PURE__ */ import_react18.default.createElement("div", null, props.store === "apple" ? props.mode === "dark" ? /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3867
4040
|
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"
|
|
3868
|
-
}, /* @__PURE__ */
|
|
4041
|
+
}, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3869
4042
|
className: "hawa-mr-3"
|
|
3870
|
-
}, /* @__PURE__ */
|
|
4043
|
+
}, /* @__PURE__ */ import_react18.default.createElement("svg", {
|
|
3871
4044
|
viewBox: "0 0 384 512",
|
|
3872
4045
|
width: "30"
|
|
3873
|
-
}, /* @__PURE__ */
|
|
4046
|
+
}, /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3874
4047
|
fill: "currentColor",
|
|
3875
4048
|
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"
|
|
3876
|
-
}))), /* @__PURE__ */
|
|
4049
|
+
}))), /* @__PURE__ */ import_react18.default.createElement("div", null, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3877
4050
|
className: "hawa-text-xs"
|
|
3878
|
-
}, "Download on the"), /* @__PURE__ */
|
|
4051
|
+
}, "Download on the"), /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3879
4052
|
className: "hawa-font-sans hawa--mt-1 hawa-text-2xl hawa-font-semibold"
|
|
3880
|
-
}, "App Store"))) : /* @__PURE__ */
|
|
4053
|
+
}, "App Store"))) : /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3881
4054
|
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"
|
|
3882
|
-
}, /* @__PURE__ */
|
|
4055
|
+
}, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3883
4056
|
className: "hawa-mr-3"
|
|
3884
|
-
}, /* @__PURE__ */
|
|
4057
|
+
}, /* @__PURE__ */ import_react18.default.createElement("svg", {
|
|
3885
4058
|
viewBox: "0 0 384 512",
|
|
3886
4059
|
width: "30"
|
|
3887
|
-
}, /* @__PURE__ */
|
|
4060
|
+
}, /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3888
4061
|
fill: "currentColor",
|
|
3889
4062
|
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"
|
|
3890
|
-
}))), /* @__PURE__ */
|
|
4063
|
+
}))), /* @__PURE__ */ import_react18.default.createElement("div", null, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3891
4064
|
className: "hawa-text-xs"
|
|
3892
|
-
}, "Download on the"), /* @__PURE__ */
|
|
4065
|
+
}, "Download on the"), /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3893
4066
|
className: "hawa-font-sans hawa--mt-1 hawa-text-2xl hawa-font-semibold"
|
|
3894
|
-
}, "App Store"))) : props.mode === "dark" ? /* @__PURE__ */
|
|
4067
|
+
}, "App Store"))) : props.mode === "dark" ? /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3895
4068
|
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"
|
|
3896
|
-
}, /* @__PURE__ */
|
|
4069
|
+
}, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3897
4070
|
className: "hawa-mr-3"
|
|
3898
|
-
}, /* @__PURE__ */
|
|
4071
|
+
}, /* @__PURE__ */ import_react18.default.createElement("svg", {
|
|
3899
4072
|
viewBox: "30 336.7 120.9 129.2",
|
|
3900
4073
|
width: "30"
|
|
3901
|
-
}, /* @__PURE__ */
|
|
4074
|
+
}, /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3902
4075
|
fill: "#FFD400",
|
|
3903
4076
|
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"
|
|
3904
|
-
}), /* @__PURE__ */
|
|
4077
|
+
}), /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3905
4078
|
fill: "#FF3333",
|
|
3906
4079
|
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"
|
|
3907
|
-
}), /* @__PURE__ */
|
|
4080
|
+
}), /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3908
4081
|
fill: "#48FF48",
|
|
3909
4082
|
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"
|
|
3910
|
-
}), /* @__PURE__ */
|
|
4083
|
+
}), /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3911
4084
|
fill: "#3BCCFF",
|
|
3912
4085
|
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"
|
|
3913
|
-
}))), /* @__PURE__ */
|
|
4086
|
+
}))), /* @__PURE__ */ import_react18.default.createElement("div", null, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3914
4087
|
className: "hawa-text-xs"
|
|
3915
|
-
}, "GET IT ON"), /* @__PURE__ */
|
|
4088
|
+
}, "GET IT ON"), /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3916
4089
|
className: "hawa-font-sans hawa--mt-1 hawa-text-xl hawa-font-semibold"
|
|
3917
|
-
}, "Google Play"))) : /* @__PURE__ */
|
|
4090
|
+
}, "Google Play"))) : /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3918
4091
|
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"
|
|
3919
|
-
}, /* @__PURE__ */
|
|
4092
|
+
}, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3920
4093
|
className: "hawa-mr-3"
|
|
3921
|
-
}, /* @__PURE__ */
|
|
4094
|
+
}, /* @__PURE__ */ import_react18.default.createElement("svg", {
|
|
3922
4095
|
viewBox: "30 336.7 120.9 129.2",
|
|
3923
4096
|
width: "30"
|
|
3924
|
-
}, /* @__PURE__ */
|
|
4097
|
+
}, /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3925
4098
|
fill: "#FFD400",
|
|
3926
4099
|
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"
|
|
3927
|
-
}), /* @__PURE__ */
|
|
4100
|
+
}), /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3928
4101
|
fill: "#FF3333",
|
|
3929
4102
|
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"
|
|
3930
|
-
}), /* @__PURE__ */
|
|
4103
|
+
}), /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3931
4104
|
fill: "#48FF48",
|
|
3932
4105
|
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"
|
|
3933
|
-
}), /* @__PURE__ */
|
|
4106
|
+
}), /* @__PURE__ */ import_react18.default.createElement("path", {
|
|
3934
4107
|
fill: "#3BCCFF",
|
|
3935
4108
|
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"
|
|
3936
|
-
}))), /* @__PURE__ */
|
|
4109
|
+
}))), /* @__PURE__ */ import_react18.default.createElement("div", null, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3937
4110
|
className: "hawa-text-xs"
|
|
3938
|
-
}, "GET IT ON"), /* @__PURE__ */
|
|
4111
|
+
}, "GET IT ON"), /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
3939
4112
|
className: "hawa-font-sans hawa--mt-1 hawa-text-xl hawa-font-semibold"
|
|
3940
4113
|
}, "Google Play")))));
|
|
3941
4114
|
};
|
|
4115
|
+
// components/elements/Separator.tsx
|
|
4116
|
+
var React30 = __toESM(require("react"));
|
|
4117
|
+
// node_modules/@babel/runtime/helpers/esm/extends.js
|
|
4118
|
+
function _extends1() {
|
|
4119
|
+
_extends1 = Object.assign ? Object.assign.bind() : function _extends(target) {
|
|
4120
|
+
for(var i = 1; i < arguments.length; i++){
|
|
4121
|
+
var source = arguments[i];
|
|
4122
|
+
for(var key in source){
|
|
4123
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
4124
|
+
target[key] = source[key];
|
|
4125
|
+
}
|
|
4126
|
+
}
|
|
4127
|
+
}
|
|
4128
|
+
return target;
|
|
4129
|
+
};
|
|
4130
|
+
return _extends1.apply(this, arguments);
|
|
4131
|
+
}
|
|
4132
|
+
// node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
4133
|
+
var import_react22 = require("react");
|
|
4134
|
+
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
4135
|
+
var import_react21 = require("react");
|
|
4136
|
+
var import_react_dom = require("react-dom");
|
|
4137
|
+
// node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
4138
|
+
var import_react20 = require("react");
|
|
4139
|
+
// node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
4140
|
+
var import_react19 = require("react");
|
|
4141
|
+
function $6ed0406888f73fc4$var$setRef(ref, value) {
|
|
4142
|
+
if (typeof ref === "function") ref(value);
|
|
4143
|
+
else if (ref !== null && ref !== void 0) ref.current = value;
|
|
4144
|
+
}
|
|
4145
|
+
function $6ed0406888f73fc4$export$43e446d32b3d21af() {
|
|
4146
|
+
for(var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++){
|
|
4147
|
+
refs[_key] = arguments[_key];
|
|
4148
|
+
}
|
|
4149
|
+
return function(node) {
|
|
4150
|
+
return refs.forEach(function(ref) {
|
|
4151
|
+
return $6ed0406888f73fc4$var$setRef(ref, node);
|
|
4152
|
+
});
|
|
4153
|
+
};
|
|
4154
|
+
}
|
|
4155
|
+
// node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
4156
|
+
var $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ (0, import_react20.forwardRef)(function(props, forwardedRef) {
|
|
4157
|
+
var children = props.children, slotProps = _object_without_properties(props, [
|
|
4158
|
+
"children"
|
|
4159
|
+
]);
|
|
4160
|
+
var childrenArray = import_react20.Children.toArray(children);
|
|
4161
|
+
var slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
|
|
4162
|
+
if (slottable) {
|
|
4163
|
+
var newElement = slottable.props.children;
|
|
4164
|
+
var newChildren = childrenArray.map(function(child) {
|
|
4165
|
+
if (child === slottable) {
|
|
4166
|
+
if (import_react20.Children.count(newElement) > 1) return import_react20.Children.only(null);
|
|
4167
|
+
return /* @__PURE__ */ (0, import_react20.isValidElement)(newElement) ? newElement.props.children : null;
|
|
4168
|
+
} else return child;
|
|
4169
|
+
});
|
|
4170
|
+
return /* @__PURE__ */ (0, import_react20.createElement)($5e63c961fc1ce211$var$SlotClone, _extends1({}, slotProps, {
|
|
4171
|
+
ref: forwardedRef
|
|
4172
|
+
}), /* @__PURE__ */ (0, import_react20.isValidElement)(newElement) ? /* @__PURE__ */ (0, import_react20.cloneElement)(newElement, void 0, newChildren) : null);
|
|
4173
|
+
}
|
|
4174
|
+
return /* @__PURE__ */ (0, import_react20.createElement)($5e63c961fc1ce211$var$SlotClone, _extends1({}, slotProps, {
|
|
4175
|
+
ref: forwardedRef
|
|
4176
|
+
}), children);
|
|
4177
|
+
});
|
|
4178
|
+
$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = "Slot";
|
|
4179
|
+
var $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */ (0, import_react20.forwardRef)(function(props, forwardedRef) {
|
|
4180
|
+
var children = props.children, slotProps = _object_without_properties(props, [
|
|
4181
|
+
"children"
|
|
4182
|
+
]);
|
|
4183
|
+
if (/* @__PURE__ */ (0, import_react20.isValidElement)(children)) return /* @__PURE__ */ (0, import_react20.cloneElement)(children, _object_spread_props(_object_spread({}, $5e63c961fc1ce211$var$mergeProps(slotProps, children.props)), {
|
|
4184
|
+
ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
|
|
4185
|
+
}));
|
|
4186
|
+
return import_react20.Children.count(children) > 1 ? import_react20.Children.only(null) : null;
|
|
4187
|
+
});
|
|
4188
|
+
$5e63c961fc1ce211$var$SlotClone.displayName = "SlotClone";
|
|
4189
|
+
var $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = function(param) {
|
|
4190
|
+
var children = param.children;
|
|
4191
|
+
return /* @__PURE__ */ (0, import_react20.createElement)(import_react20.Fragment, null, children);
|
|
4192
|
+
};
|
|
4193
|
+
function $5e63c961fc1ce211$var$isSlottable(child) {
|
|
4194
|
+
return /* @__PURE__ */ (0, import_react20.isValidElement)(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
|
|
4195
|
+
}
|
|
4196
|
+
function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
4197
|
+
var _loop = function(propName) {
|
|
4198
|
+
var slotPropValue = slotProps[propName];
|
|
4199
|
+
var childPropValue = childProps[propName];
|
|
4200
|
+
var isHandler = /^on[A-Z]/.test(propName);
|
|
4201
|
+
if (isHandler) {
|
|
4202
|
+
if (slotPropValue && childPropValue) overrideProps[propName] = function() {
|
|
4203
|
+
for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
|
|
4204
|
+
args[_key] = arguments[_key];
|
|
4205
|
+
}
|
|
4206
|
+
childPropValue.apply(void 0, _to_consumable_array(args));
|
|
4207
|
+
slotPropValue.apply(void 0, _to_consumable_array(args));
|
|
4208
|
+
};
|
|
4209
|
+
else if (slotPropValue) overrideProps[propName] = slotPropValue;
|
|
4210
|
+
} else if (propName === "style") overrideProps[propName] = _object_spread({}, slotPropValue, childPropValue);
|
|
4211
|
+
else if (propName === "className") overrideProps[propName] = [
|
|
4212
|
+
slotPropValue,
|
|
4213
|
+
childPropValue
|
|
4214
|
+
].filter(Boolean).join(" ");
|
|
4215
|
+
};
|
|
4216
|
+
var overrideProps = _object_spread({}, childProps);
|
|
4217
|
+
for(var propName in childProps)_loop(propName);
|
|
4218
|
+
return _object_spread({}, slotProps, overrideProps);
|
|
4219
|
+
}
|
|
4220
|
+
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
4221
|
+
var $8927f6f2acc4f386$var$NODES = [
|
|
4222
|
+
"a",
|
|
4223
|
+
"button",
|
|
4224
|
+
"div",
|
|
4225
|
+
"form",
|
|
4226
|
+
"h2",
|
|
4227
|
+
"h3",
|
|
4228
|
+
"img",
|
|
4229
|
+
"input",
|
|
4230
|
+
"label",
|
|
4231
|
+
"li",
|
|
4232
|
+
"nav",
|
|
4233
|
+
"ol",
|
|
4234
|
+
"p",
|
|
4235
|
+
"span",
|
|
4236
|
+
"svg",
|
|
4237
|
+
"ul"
|
|
4238
|
+
];
|
|
4239
|
+
var $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.reduce(function(primitive, node) {
|
|
4240
|
+
var Node = /* @__PURE__ */ (0, import_react21.forwardRef)(function(props, forwardedRef) {
|
|
4241
|
+
var asChild = props.asChild, primitiveProps = _object_without_properties(props, [
|
|
4242
|
+
"asChild"
|
|
4243
|
+
]);
|
|
4244
|
+
var Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : node;
|
|
4245
|
+
(0, import_react21.useEffect)(function() {
|
|
4246
|
+
window[Symbol.for("radix-ui")] = true;
|
|
4247
|
+
}, []);
|
|
4248
|
+
return /* @__PURE__ */ (0, import_react21.createElement)(Comp, _extends1({}, primitiveProps, {
|
|
4249
|
+
ref: forwardedRef
|
|
4250
|
+
}));
|
|
4251
|
+
});
|
|
4252
|
+
Node.displayName = "Primitive.".concat(node);
|
|
4253
|
+
return _object_spread_props(_object_spread({}, primitive), _define_property({}, node, Node));
|
|
4254
|
+
}, {});
|
|
4255
|
+
// node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
4256
|
+
var $89eedd556c436f6a$var$DEFAULT_ORIENTATION = "horizontal";
|
|
4257
|
+
var $89eedd556c436f6a$var$ORIENTATIONS = [
|
|
4258
|
+
"horizontal",
|
|
4259
|
+
"vertical"
|
|
4260
|
+
];
|
|
4261
|
+
var $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /* @__PURE__ */ (0, import_react22.forwardRef)(function(props, forwardedRef) {
|
|
4262
|
+
var decorative = props.decorative, tmp = props.orientation, orientationProp = tmp === void 0 ? $89eedd556c436f6a$var$DEFAULT_ORIENTATION : tmp, domProps = _object_without_properties(props, [
|
|
4263
|
+
"decorative",
|
|
4264
|
+
"orientation"
|
|
4265
|
+
]);
|
|
4266
|
+
var orientation = $89eedd556c436f6a$var$isValidOrientation(orientationProp) ? orientationProp : $89eedd556c436f6a$var$DEFAULT_ORIENTATION;
|
|
4267
|
+
var ariaOrientation = orientation === "vertical" ? orientation : void 0;
|
|
4268
|
+
var semanticProps = decorative ? {
|
|
4269
|
+
role: "none"
|
|
4270
|
+
} : {
|
|
4271
|
+
"aria-orientation": ariaOrientation,
|
|
4272
|
+
role: "separator"
|
|
4273
|
+
};
|
|
4274
|
+
return /* @__PURE__ */ (0, import_react22.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends1({
|
|
4275
|
+
"data-orientation": orientation
|
|
4276
|
+
}, semanticProps, domProps, {
|
|
4277
|
+
ref: forwardedRef
|
|
4278
|
+
}));
|
|
4279
|
+
});
|
|
4280
|
+
$89eedd556c436f6a$export$1ff3c3f08ae963c0.propTypes = {
|
|
4281
|
+
orientation: function orientation(props, propName, componentName) {
|
|
4282
|
+
var propValue = props[propName];
|
|
4283
|
+
var strVal = String(propValue);
|
|
4284
|
+
if (propValue && !$89eedd556c436f6a$var$isValidOrientation(propValue)) return new Error($89eedd556c436f6a$var$getInvalidOrientationError(strVal, componentName));
|
|
4285
|
+
return null;
|
|
4286
|
+
}
|
|
4287
|
+
};
|
|
4288
|
+
function $89eedd556c436f6a$var$getInvalidOrientationError(value, componentName) {
|
|
4289
|
+
return "Invalid prop `orientation` of value `".concat(value, "` supplied to `").concat(componentName, "`, expected one of:\n - horizontal\n - vertical\n\nDefaulting to `").concat($89eedd556c436f6a$var$DEFAULT_ORIENTATION, "`.");
|
|
4290
|
+
}
|
|
4291
|
+
function $89eedd556c436f6a$var$isValidOrientation(orientation) {
|
|
4292
|
+
return $89eedd556c436f6a$var$ORIENTATIONS.includes(orientation);
|
|
4293
|
+
}
|
|
4294
|
+
var $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
|
|
4295
|
+
// components/elements/Separator.tsx
|
|
4296
|
+
var Separator2 = React30.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4297
|
+
var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "horizontal" : _param_orientation, _param_decorative = _param.decorative, decorative = _param_decorative === void 0 ? true : _param_decorative, props = _object_without_properties(_param, [
|
|
4298
|
+
"className",
|
|
4299
|
+
"orientation",
|
|
4300
|
+
"decorative"
|
|
4301
|
+
]);
|
|
4302
|
+
return React30.createElement($89eedd556c436f6a$export$be92b6f5f03c0fe9, _object_spread({
|
|
4303
|
+
ref: ref,
|
|
4304
|
+
decorative: decorative,
|
|
4305
|
+
orientation: orientation,
|
|
4306
|
+
className: cn("hawa-shrink-0 hawa-bg-border", orientation === "horizontal" ? "hawa-h-[1px] hawa-w-full" : "hawa-h-full hawa-w-[1px]", className)
|
|
4307
|
+
}, props));
|
|
4308
|
+
});
|
|
4309
|
+
Separator2.displayName = $89eedd556c436f6a$export$be92b6f5f03c0fe9.displayName;
|
|
4310
|
+
// components/elements/Progress.tsx
|
|
4311
|
+
var React31 = __toESM(require("react"));
|
|
4312
|
+
var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
|
|
4313
|
+
var Progress = React31.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4314
|
+
var className = _param.className, value = _param.value, props = _object_without_properties(_param, [
|
|
4315
|
+
"className",
|
|
4316
|
+
"value"
|
|
4317
|
+
]);
|
|
4318
|
+
return React31.createElement(ProgressPrimitive.Root, _object_spread({
|
|
4319
|
+
ref: ref,
|
|
4320
|
+
className: cn("hawa-relative hawa-h-4 hawa-w-full hawa-overflow-hidden hawa-rounded hawa-bg-secondary", className)
|
|
4321
|
+
}, props), /* @__PURE__ */ React31.createElement(ProgressPrimitive.Indicator, {
|
|
4322
|
+
className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
|
|
4323
|
+
style: {
|
|
4324
|
+
transform: "translateX(-".concat(100 - (value || 0), "%)")
|
|
4325
|
+
}
|
|
4326
|
+
}));
|
|
4327
|
+
});
|
|
4328
|
+
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
3942
4329
|
// components/elements/BackToTop.tsx
|
|
3943
|
-
var
|
|
3944
|
-
var
|
|
4330
|
+
var import_react23 = __toESM(require("react"));
|
|
4331
|
+
var import_clsx8 = require("clsx");
|
|
3945
4332
|
var BackToTop = function(_param) {
|
|
3946
4333
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
3947
|
-
var _ref = _sliced_to_array((0,
|
|
3948
|
-
var _ref1 = _sliced_to_array((0,
|
|
3949
|
-
var self = (0,
|
|
3950
|
-
var _rect = (0,
|
|
4334
|
+
var _ref = _sliced_to_array((0, import_react23.useState)(false), 2), visible = _ref[0], setVisible = _ref[1];
|
|
4335
|
+
var _ref1 = _sliced_to_array((0, import_react23.useState)(null), 2), rect = _ref1[0], _setRect = _ref1[1];
|
|
4336
|
+
var self = (0, import_react23.useRef)(null);
|
|
4337
|
+
var _rect = (0, import_react23.useRef)(rect);
|
|
3951
4338
|
var setRect = function(data) {
|
|
3952
4339
|
_rect.current = data;
|
|
3953
4340
|
_setRect(data);
|
|
@@ -3981,7 +4368,7 @@ var BackToTop = function(_param) {
|
|
|
3981
4368
|
});
|
|
3982
4369
|
}
|
|
3983
4370
|
};
|
|
3984
|
-
(0,
|
|
4371
|
+
(0, import_react23.useEffect)(function() {
|
|
3985
4372
|
if (!props.anchor.current) return;
|
|
3986
4373
|
props.anchor.current.addEventListener("scroll", onScroll);
|
|
3987
4374
|
var interval = setInterval(function() {
|
|
@@ -4013,7 +4400,7 @@ var BackToTop = function(_param) {
|
|
|
4013
4400
|
};
|
|
4014
4401
|
return style;
|
|
4015
4402
|
};
|
|
4016
|
-
return /* @__PURE__ */
|
|
4403
|
+
return /* @__PURE__ */ import_react23.default.createElement(Button, {
|
|
4017
4404
|
className: cn("hawa-fixed hawa-cursor-pointer hawa-rounded hawa-transition-all", visible ? "hawa-pointer-events-all hawa-opacity-100" : "hawa-pointer-events-none hawa-opacity-0"),
|
|
4018
4405
|
onClick: backToTop,
|
|
4019
4406
|
style: _object_spread_props(_object_spread({}, getStyles()), {
|
|
@@ -4021,152 +4408,113 @@ var BackToTop = function(_param) {
|
|
|
4021
4408
|
}),
|
|
4022
4409
|
ref: self,
|
|
4023
4410
|
size: "icon"
|
|
4024
|
-
}, /* @__PURE__ */
|
|
4025
|
-
className: (0,
|
|
4411
|
+
}, /* @__PURE__ */ import_react23.default.createElement("svg", {
|
|
4412
|
+
className: (0, import_clsx8.clsx)("hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all disabled:hawa-bg-gray-200"),
|
|
4026
4413
|
"aria-label": "Arrow Icon",
|
|
4027
4414
|
viewBox: "0 0 20 20",
|
|
4028
4415
|
fill: "currentColor"
|
|
4029
|
-
}, /* @__PURE__ */
|
|
4416
|
+
}, /* @__PURE__ */ import_react23.default.createElement("path", {
|
|
4030
4417
|
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"
|
|
4031
4418
|
})));
|
|
4032
4419
|
};
|
|
4033
|
-
// components/elements/Input.tsx
|
|
4034
|
-
var import_react18 = __toESM(require("react"));
|
|
4035
|
-
var Input = function(_param) {
|
|
4036
|
-
var _param_margin = _param.margin, margin = _param_margin === void 0 ? "none" : _param_margin, _param_width = _param.width, width = _param_width === void 0 ? "full" : _param_width, _param_preview = _param.preview, preview = _param_preview === void 0 ? false : _param_preview, props = _object_without_properties(_param, [
|
|
4037
|
-
"margin",
|
|
4038
|
-
"width",
|
|
4039
|
-
"preview"
|
|
4040
|
-
]);
|
|
4041
|
-
var marginStyles = {
|
|
4042
|
-
none: "hawa-mb-0",
|
|
4043
|
-
normal: "hawa-mb-3",
|
|
4044
|
-
large: "hawa-mb-5"
|
|
4045
|
-
};
|
|
4046
|
-
var widthStyles = {
|
|
4047
|
-
small: "hawa-w-full hawa-max-w-2xs",
|
|
4048
|
-
normal: "hawa-w-1/2",
|
|
4049
|
-
full: "hawa-w-full"
|
|
4050
|
-
};
|
|
4051
|
-
var defaultStyle = "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-2";
|
|
4052
|
-
var 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 ";
|
|
4053
|
-
return /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
4054
|
-
className: cn(defaultStyle, marginStyles[margin], widthStyles[width], props.className)
|
|
4055
|
-
}, props.label && /* @__PURE__ */ import_react18.default.createElement(Label, null, props.label), props.isLoading ? /* @__PURE__ */ import_react18.default.createElement(Skeleton, {
|
|
4056
|
-
className: "hawa-h-[38px] hawa-w-full"
|
|
4057
|
-
}) : /* @__PURE__ */ import_react18.default.createElement(import_react18.default.Fragment, null, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
4058
|
-
className: cn("hawa-absolute hawa-top-[22px] hawa-h-[0.8px] hawa-w-full hawa-bg-gray-200 hawa-transition-all dark:hawa-bg-gray-800", preview ? "hawa-opacity-100" : "hawa-opacity-0")
|
|
4059
|
-
}), /* @__PURE__ */ import_react18.default.createElement(import_react18.default.Fragment, null, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
4060
|
-
className: cn("hawa-relative")
|
|
4061
|
-
}, props.icon && /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
4062
|
-
className: "hawa-absolute hawa-left-3 hawa-top-1/2 hawa--translate-y-1/2"
|
|
4063
|
-
}, props.icon), /* @__PURE__ */ import_react18.default.createElement("input", _object_spread_props(_object_spread({}, props), {
|
|
4064
|
-
className: cn(defaultInputStyle, props.icon && "hawa-pl-10", "focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2", preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0"),
|
|
4065
|
-
disabled: preview
|
|
4066
|
-
}))), props.iconInside && /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
4067
|
-
className: "hawa-absolute hawa-right-1 hawa-top-[41px] hawa--translate-y-1/2"
|
|
4068
|
-
}, props.iconInside), props.helperText && /* @__PURE__ */ import_react18.default.createElement("p", {
|
|
4069
|
-
className: "hawa-mb-0 hawa-mt-0 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500"
|
|
4070
|
-
}, props.helperText))));
|
|
4071
|
-
};
|
|
4072
4420
|
// components/elements/Tabs.tsx
|
|
4073
|
-
var
|
|
4421
|
+
var React33 = __toESM(require("react"));
|
|
4074
4422
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
|
|
4075
|
-
var TabsContext =
|
|
4423
|
+
var TabsContext = React33.createContext({
|
|
4076
4424
|
orientation: "vertical"
|
|
4077
4425
|
});
|
|
4078
|
-
var Tabs =
|
|
4426
|
+
var Tabs = React33.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4079
4427
|
var className = _param.className, orientation = _param.orientation, props = _object_without_properties(_param, [
|
|
4080
4428
|
"className",
|
|
4081
4429
|
"orientation"
|
|
4082
4430
|
]);
|
|
4083
|
-
return
|
|
4431
|
+
return React33.createElement(TabsPrimitive.Root, _object_spread({
|
|
4084
4432
|
ref: ref,
|
|
4085
4433
|
className: cn("hawa-flex hawa-gap-2", orientation === "vertical" ? "hawa-flex-row" : "hawa-flex-col", className)
|
|
4086
|
-
}, props), /* @__PURE__ */
|
|
4434
|
+
}, props), /* @__PURE__ */ React33.createElement(TabsContext.Provider, {
|
|
4087
4435
|
value: {
|
|
4088
4436
|
orientation: orientation
|
|
4089
4437
|
}
|
|
4090
4438
|
}, props.children));
|
|
4091
4439
|
});
|
|
4092
4440
|
Tabs.displayName = TabsPrimitive.Root.displayName;
|
|
4093
|
-
var TabsList =
|
|
4441
|
+
var TabsList = React33.forwardRef(function(_param, ref) {
|
|
4094
4442
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
4095
4443
|
"className"
|
|
4096
4444
|
]);
|
|
4097
|
-
var orientation =
|
|
4445
|
+
var orientation = React33.useContext(TabsContext).orientation;
|
|
4098
4446
|
console.log("orient ", orientation);
|
|
4099
|
-
return /* @__PURE__ */
|
|
4447
|
+
return /* @__PURE__ */ React33.createElement(TabsPrimitive.List, _object_spread({
|
|
4100
4448
|
ref: ref,
|
|
4101
4449
|
className: cn("hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-rounded hawa-border hawa-bg-muted hawa-p-1 hawa-text-muted-foreground dark:hawa-border-primary/10", orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row", className)
|
|
4102
4450
|
}, props));
|
|
4103
4451
|
});
|
|
4104
4452
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
4105
|
-
var TabsTrigger =
|
|
4453
|
+
var TabsTrigger = React33.forwardRef(function(_param, ref) {
|
|
4106
4454
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
4107
4455
|
"className"
|
|
4108
4456
|
]);
|
|
4109
|
-
return /* @__PURE__ */
|
|
4457
|
+
return /* @__PURE__ */ React33.createElement(TabsPrimitive.Trigger, _object_spread({
|
|
4110
4458
|
ref: ref,
|
|
4111
4459
|
className: cn("hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-whitespace-nowrap hawa-rounded hawa-border hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[state=active]:hawa-bg-primary data-[state=active]:hawa-text-primary-foreground data-[state=active]:hawa-shadow-sm dark:hawa-border-primary/10", className)
|
|
4112
4460
|
}, props));
|
|
4113
4461
|
});
|
|
4114
4462
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
4115
|
-
var TabsContent =
|
|
4463
|
+
var TabsContent = React33.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4116
4464
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
4117
4465
|
"className"
|
|
4118
4466
|
]);
|
|
4119
|
-
return
|
|
4467
|
+
return React33.createElement(TabsPrimitive.Content, _object_spread({
|
|
4120
4468
|
ref: ref,
|
|
4121
4469
|
className: cn("hawa-w-full hawa-ring-offset-hawa-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2", className)
|
|
4122
4470
|
}, props));
|
|
4123
4471
|
});
|
|
4124
4472
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
4125
4473
|
// components/elements/ScrollArea.tsx
|
|
4126
|
-
var
|
|
4474
|
+
var React34 = __toESM(require("react"));
|
|
4127
4475
|
var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
|
|
4128
|
-
var ScrollArea =
|
|
4476
|
+
var ScrollArea = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4129
4477
|
var className = _param.className, children = _param.children, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "vertical" : _param_orientation, props = _object_without_properties(_param, [
|
|
4130
4478
|
"className",
|
|
4131
4479
|
"children",
|
|
4132
4480
|
"orientation"
|
|
4133
4481
|
]);
|
|
4134
|
-
return
|
|
4482
|
+
return React34.createElement(ScrollAreaPrimitive.Root, _object_spread({
|
|
4135
4483
|
ref: ref,
|
|
4136
4484
|
className: cn("hawa-relative hawa-overflow-hidden", className)
|
|
4137
|
-
}, props), /* @__PURE__ */
|
|
4485
|
+
}, props), /* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.Viewport, {
|
|
4138
4486
|
className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]"
|
|
4139
|
-
}, children), /* @__PURE__ */
|
|
4487
|
+
}, children), /* @__PURE__ */ React34.createElement(ScrollBar, {
|
|
4140
4488
|
orientation: orientation
|
|
4141
|
-
}), /* @__PURE__ */
|
|
4489
|
+
}), /* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.Corner, null));
|
|
4142
4490
|
});
|
|
4143
4491
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
4144
|
-
var ScrollBar =
|
|
4492
|
+
var ScrollBar = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4145
4493
|
var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "vertical" : _param_orientation, props = _object_without_properties(_param, [
|
|
4146
4494
|
"className",
|
|
4147
4495
|
"orientation"
|
|
4148
4496
|
]);
|
|
4149
|
-
return
|
|
4497
|
+
return React34.createElement(ScrollAreaPrimitive.ScrollAreaScrollbar, _object_spread({
|
|
4150
4498
|
ref: ref,
|
|
4151
4499
|
orientation: orientation,
|
|
4152
4500
|
className: cn("hawa-flex hawa-touch-none hawa-select-none hawa-transition-colors", orientation === "vertical" && "hawa-h-full hawa-w-2.5 hawa-border-l hawa-border-l-transparent hawa-p-[1px]", orientation === "horizontal" && "hawa-h-2.5 hawa-border-t hawa-border-t-transparent hawa-p-[1px]", className)
|
|
4153
|
-
}, props), /* @__PURE__ */
|
|
4501
|
+
}, props), /* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.ScrollAreaThumb, {
|
|
4154
4502
|
className: cn("hawa-relative hawa-rounded-full hawa-bg-border", orientation === "vertical" && "hawa-flex-1")
|
|
4155
4503
|
}));
|
|
4156
4504
|
});
|
|
4157
4505
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
4158
4506
|
// components/elements/Logos.tsx
|
|
4159
|
-
var
|
|
4507
|
+
var import_react24 = __toESM(require("react"));
|
|
4160
4508
|
var Logos = {
|
|
4161
4509
|
logo: function(props) {
|
|
4162
|
-
return /* @__PURE__ */
|
|
4510
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4163
4511
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4164
4512
|
viewBox: "0 0 256 256"
|
|
4165
|
-
}, props), /* @__PURE__ */
|
|
4513
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("rect", {
|
|
4166
4514
|
width: "256",
|
|
4167
4515
|
height: "256",
|
|
4168
4516
|
fill: "none"
|
|
4169
|
-
}), /* @__PURE__ */
|
|
4517
|
+
}), /* @__PURE__ */ import_react24.default.createElement("line", {
|
|
4170
4518
|
x1: "208",
|
|
4171
4519
|
y1: "128",
|
|
4172
4520
|
x2: "128",
|
|
@@ -4176,7 +4524,7 @@ var Logos = {
|
|
|
4176
4524
|
strokeLinecap: "round",
|
|
4177
4525
|
strokeLinejoin: "round",
|
|
4178
4526
|
strokeWidth: "16"
|
|
4179
|
-
}), /* @__PURE__ */
|
|
4527
|
+
}), /* @__PURE__ */ import_react24.default.createElement("line", {
|
|
4180
4528
|
x1: "192",
|
|
4181
4529
|
y1: "40",
|
|
4182
4530
|
x2: "40",
|
|
@@ -4189,7 +4537,7 @@ var Logos = {
|
|
|
4189
4537
|
}));
|
|
4190
4538
|
},
|
|
4191
4539
|
mail: function(props) {
|
|
4192
|
-
return /* @__PURE__ */
|
|
4540
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4193
4541
|
stroke: "currentColor",
|
|
4194
4542
|
fill: "none",
|
|
4195
4543
|
"stroke-width": "2",
|
|
@@ -4199,14 +4547,14 @@ var Logos = {
|
|
|
4199
4547
|
height: "1em",
|
|
4200
4548
|
width: "1em",
|
|
4201
4549
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4202
|
-
}, props), /* @__PURE__ */
|
|
4550
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4203
4551
|
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"
|
|
4204
|
-
}), /* @__PURE__ */
|
|
4552
|
+
}), /* @__PURE__ */ import_react24.default.createElement("polyline", {
|
|
4205
4553
|
points: "22,6 12,13 2,6"
|
|
4206
4554
|
}));
|
|
4207
4555
|
},
|
|
4208
4556
|
phone: function(props) {
|
|
4209
|
-
return /* @__PURE__ */
|
|
4557
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4210
4558
|
stroke: "currentColor",
|
|
4211
4559
|
fill: "none",
|
|
4212
4560
|
"stroke-width": "2",
|
|
@@ -4215,131 +4563,131 @@ var Logos = {
|
|
|
4215
4563
|
height: "1em",
|
|
4216
4564
|
width: "1em",
|
|
4217
4565
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4218
|
-
}, props), /* @__PURE__ */
|
|
4566
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4219
4567
|
"stroke-linecap": "round",
|
|
4220
4568
|
"stroke-linejoin": "round",
|
|
4221
4569
|
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"
|
|
4222
4570
|
}));
|
|
4223
4571
|
},
|
|
4224
4572
|
twitter: function(props) {
|
|
4225
|
-
return /* @__PURE__ */
|
|
4573
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4226
4574
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4227
4575
|
viewBox: "0 0 24 24"
|
|
4228
|
-
}, props), /* @__PURE__ */
|
|
4576
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4229
4577
|
fill: "currentColor",
|
|
4230
4578
|
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"
|
|
4231
4579
|
}));
|
|
4232
4580
|
},
|
|
4233
4581
|
microsoft: function(props) {
|
|
4234
|
-
return /* @__PURE__ */
|
|
4582
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4235
4583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4236
4584
|
viewBox: "0 0 20 20"
|
|
4237
|
-
}, props), /* @__PURE__ */
|
|
4585
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4238
4586
|
fill: "currentColor",
|
|
4239
4587
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
|
4240
4588
|
}));
|
|
4241
4589
|
},
|
|
4242
4590
|
gitHub: function(props) {
|
|
4243
|
-
return /* @__PURE__ */
|
|
4591
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4244
4592
|
viewBox: "0 0 438.549 438.549"
|
|
4245
|
-
}, props), /* @__PURE__ */
|
|
4593
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4246
4594
|
fill: "currentColor",
|
|
4247
4595
|
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"
|
|
4248
4596
|
}));
|
|
4249
4597
|
},
|
|
4250
4598
|
radix: function(props) {
|
|
4251
|
-
return /* @__PURE__ */
|
|
4599
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4252
4600
|
viewBox: "0 0 25 25",
|
|
4253
4601
|
fill: "none"
|
|
4254
|
-
}, props), /* @__PURE__ */
|
|
4602
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4255
4603
|
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
|
4256
4604
|
fill: "currentcolor"
|
|
4257
|
-
}), /* @__PURE__ */
|
|
4605
|
+
}), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4258
4606
|
d: "M12 0H4V8H12V0Z",
|
|
4259
4607
|
fill: "currentcolor"
|
|
4260
|
-
}), /* @__PURE__ */
|
|
4608
|
+
}), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4261
4609
|
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",
|
|
4262
4610
|
fill: "currentcolor"
|
|
4263
4611
|
}));
|
|
4264
4612
|
},
|
|
4265
4613
|
aria: function(props) {
|
|
4266
|
-
return /* @__PURE__ */
|
|
4614
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4267
4615
|
role: "img",
|
|
4268
4616
|
viewBox: "0 0 24 24",
|
|
4269
4617
|
fill: "currentColor"
|
|
4270
|
-
}, props), /* @__PURE__ */
|
|
4618
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4271
4619
|
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
4620
|
}));
|
|
4273
4621
|
},
|
|
4274
4622
|
npm: function(props) {
|
|
4275
|
-
return /* @__PURE__ */
|
|
4623
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4276
4624
|
viewBox: "0 0 24 24"
|
|
4277
|
-
}, props), /* @__PURE__ */
|
|
4625
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4278
4626
|
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",
|
|
4279
4627
|
fill: "currentColor"
|
|
4280
4628
|
}));
|
|
4281
4629
|
},
|
|
4282
4630
|
yarn: function(props) {
|
|
4283
|
-
return /* @__PURE__ */
|
|
4631
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4284
4632
|
viewBox: "0 0 24 24"
|
|
4285
|
-
}, props), /* @__PURE__ */
|
|
4633
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4286
4634
|
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",
|
|
4287
4635
|
fill: "currentColor"
|
|
4288
4636
|
}));
|
|
4289
4637
|
},
|
|
4290
4638
|
pnpm: function(props) {
|
|
4291
|
-
return /* @__PURE__ */
|
|
4639
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4292
4640
|
viewBox: "0 0 24 24"
|
|
4293
|
-
}, props), /* @__PURE__ */
|
|
4641
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4294
4642
|
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",
|
|
4295
4643
|
fill: "currentColor"
|
|
4296
4644
|
}));
|
|
4297
4645
|
},
|
|
4298
4646
|
react: function(props) {
|
|
4299
|
-
return /* @__PURE__ */
|
|
4647
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4300
4648
|
viewBox: "0 0 24 24"
|
|
4301
|
-
}, props), /* @__PURE__ */
|
|
4649
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4302
4650
|
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",
|
|
4303
4651
|
fill: "currentColor"
|
|
4304
4652
|
}));
|
|
4305
4653
|
},
|
|
4306
4654
|
tailwind: function(props) {
|
|
4307
|
-
return /* @__PURE__ */
|
|
4655
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4308
4656
|
viewBox: "0 0 24 24"
|
|
4309
|
-
}, props), /* @__PURE__ */
|
|
4657
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4310
4658
|
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",
|
|
4311
4659
|
fill: "currentColor"
|
|
4312
4660
|
}));
|
|
4313
4661
|
},
|
|
4314
4662
|
google: function(props) {
|
|
4315
|
-
return /* @__PURE__ */
|
|
4663
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4316
4664
|
role: "img",
|
|
4317
4665
|
viewBox: "0 0 24 24"
|
|
4318
|
-
}, props), /* @__PURE__ */
|
|
4666
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4319
4667
|
fill: "currentColor",
|
|
4320
4668
|
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"
|
|
4321
4669
|
}));
|
|
4322
4670
|
},
|
|
4323
4671
|
apple: function(props) {
|
|
4324
|
-
return /* @__PURE__ */
|
|
4672
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4325
4673
|
role: "img",
|
|
4326
4674
|
viewBox: "0 0 24 24"
|
|
4327
|
-
}, props), /* @__PURE__ */
|
|
4675
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4328
4676
|
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",
|
|
4329
4677
|
fill: "currentColor"
|
|
4330
4678
|
}));
|
|
4331
4679
|
},
|
|
4332
4680
|
paypal: function(props) {
|
|
4333
|
-
return /* @__PURE__ */
|
|
4681
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4334
4682
|
role: "img",
|
|
4335
4683
|
viewBox: "0 0 24 24"
|
|
4336
|
-
}, props), /* @__PURE__ */
|
|
4684
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4337
4685
|
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",
|
|
4338
4686
|
fill: "currentColor"
|
|
4339
4687
|
}));
|
|
4340
4688
|
},
|
|
4341
4689
|
spinner: function(props) {
|
|
4342
|
-
return /* @__PURE__ */
|
|
4690
|
+
return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
|
|
4343
4691
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4344
4692
|
width: "24",
|
|
4345
4693
|
height: "24",
|
|
@@ -4349,11 +4697,166 @@ var Logos = {
|
|
|
4349
4697
|
strokeWidth: "2",
|
|
4350
4698
|
strokeLinecap: "round",
|
|
4351
4699
|
strokeLinejoin: "round"
|
|
4352
|
-
}, props), /* @__PURE__ */
|
|
4700
|
+
}, props), /* @__PURE__ */ import_react24.default.createElement("path", {
|
|
4353
4701
|
d: "M21 12a9 9 0 1 1-6.219-8.56"
|
|
4354
4702
|
}));
|
|
4355
4703
|
}
|
|
4356
4704
|
};
|
|
4705
|
+
// components/elements/Command.tsx
|
|
4706
|
+
var React36 = __toESM(require("react"));
|
|
4707
|
+
var import_cmdk = require("cmdk");
|
|
4708
|
+
var import_lucide_react = require("lucide-react");
|
|
4709
|
+
var Command = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4710
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
4711
|
+
"className"
|
|
4712
|
+
]);
|
|
4713
|
+
return React36.createElement(import_cmdk.Command, _object_spread({
|
|
4714
|
+
ref: ref,
|
|
4715
|
+
className: cn("hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-overflow-hidden hawa-rounded-md hawa-bg-popover hawa-text-popover-foreground", className)
|
|
4716
|
+
}, props));
|
|
4717
|
+
});
|
|
4718
|
+
Command.displayName = import_cmdk.Command.displayName;
|
|
4719
|
+
var CommandDialog = function(_param) {
|
|
4720
|
+
var children = _param.children, props = _object_without_properties(_param, [
|
|
4721
|
+
"children"
|
|
4722
|
+
]);
|
|
4723
|
+
return /* @__PURE__ */ React36.createElement(Dialog, _object_spread({}, props), /* @__PURE__ */ React36.createElement(DialogContent, {
|
|
4724
|
+
className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg"
|
|
4725
|
+
}, /* @__PURE__ */ React36.createElement(Command, {
|
|
4726
|
+
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"
|
|
4727
|
+
}, children)));
|
|
4728
|
+
};
|
|
4729
|
+
var CommandInput = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4730
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
4731
|
+
"className"
|
|
4732
|
+
]);
|
|
4733
|
+
return React36.createElement("div", {
|
|
4734
|
+
className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
|
|
4735
|
+
"cmdk-input-wrapper": ""
|
|
4736
|
+
}, /* @__PURE__ */ React36.createElement(import_lucide_react.Search, {
|
|
4737
|
+
className: "hawa-mr-2 hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-opacity-50"
|
|
4738
|
+
}), /* @__PURE__ */ React36.createElement(import_cmdk.Command.Input, _object_spread({
|
|
4739
|
+
ref: ref,
|
|
4740
|
+
className: cn("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", className)
|
|
4741
|
+
}, props)));
|
|
4742
|
+
});
|
|
4743
|
+
CommandInput.displayName = import_cmdk.Command.Input.displayName;
|
|
4744
|
+
var CommandList = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4745
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
4746
|
+
"className"
|
|
4747
|
+
]);
|
|
4748
|
+
return React36.createElement(import_cmdk.Command.List, _object_spread({
|
|
4749
|
+
ref: ref,
|
|
4750
|
+
className: cn("hawa-max-h-[300px] hawa-overflow-y-auto hawa-overflow-x-hidden", className)
|
|
4751
|
+
}, props));
|
|
4752
|
+
});
|
|
4753
|
+
CommandList.displayName = import_cmdk.Command.List.displayName;
|
|
4754
|
+
var CommandEmpty = React36.forwardRef(function(props, ref) {
|
|
4755
|
+
return /* @__PURE__ */ React36.createElement(import_cmdk.Command.Empty, _object_spread({
|
|
4756
|
+
ref: ref,
|
|
4757
|
+
className: "hawa-py-6 hawa-text-center hawa-text-sm"
|
|
4758
|
+
}, props));
|
|
4759
|
+
});
|
|
4760
|
+
CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
|
|
4761
|
+
var CommandGroup = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4762
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
4763
|
+
"className"
|
|
4764
|
+
]);
|
|
4765
|
+
return React36.createElement(import_cmdk.Command.Group, _object_spread({
|
|
4766
|
+
ref: ref,
|
|
4767
|
+
className: cn("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", className)
|
|
4768
|
+
}, props));
|
|
4769
|
+
});
|
|
4770
|
+
CommandGroup.displayName = import_cmdk.Command.Group.displayName;
|
|
4771
|
+
var CommandSeparator = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4772
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
4773
|
+
"className"
|
|
4774
|
+
]);
|
|
4775
|
+
return React36.createElement(import_cmdk.Command.Separator, _object_spread({
|
|
4776
|
+
ref: ref,
|
|
4777
|
+
className: cn("hawa--mx-1 hawa-h-px hawa-bg-border", className)
|
|
4778
|
+
}, props));
|
|
4779
|
+
});
|
|
4780
|
+
CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
|
|
4781
|
+
var CommandItem = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
4782
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
4783
|
+
"className"
|
|
4784
|
+
]);
|
|
4785
|
+
return React36.createElement(import_cmdk.Command.Item, _object_spread({
|
|
4786
|
+
ref: ref,
|
|
4787
|
+
className: cn("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", className)
|
|
4788
|
+
}, props));
|
|
4789
|
+
});
|
|
4790
|
+
CommandItem.displayName = import_cmdk.Command.Item.displayName;
|
|
4791
|
+
var CommandShortcut = function(_param) {
|
|
4792
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
4793
|
+
"className"
|
|
4794
|
+
]);
|
|
4795
|
+
return /* @__PURE__ */ React36.createElement("span", _object_spread({
|
|
4796
|
+
className: cn("hawa-ml-auto hawa-text-xs hawa-tracking-widest hawa-text-muted-foreground", className)
|
|
4797
|
+
}, props));
|
|
4798
|
+
};
|
|
4799
|
+
CommandShortcut.displayName = "CommandShortcut";
|
|
4800
|
+
// components/elements/Combobox.tsx
|
|
4801
|
+
var React37 = __toESM(require("react"));
|
|
4802
|
+
var import_lucide_react2 = require("lucide-react");
|
|
4803
|
+
var PopoverPrimitive2 = __toESM(require("@radix-ui/react-popover"));
|
|
4804
|
+
var frameworks = [
|
|
4805
|
+
{
|
|
4806
|
+
value: "next.js",
|
|
4807
|
+
label: "Next.js"
|
|
4808
|
+
},
|
|
4809
|
+
{
|
|
4810
|
+
value: "sveltekit",
|
|
4811
|
+
label: "SvelteKit"
|
|
4812
|
+
},
|
|
4813
|
+
{
|
|
4814
|
+
value: "nuxt.js",
|
|
4815
|
+
label: "Nuxt.js"
|
|
4816
|
+
},
|
|
4817
|
+
{
|
|
4818
|
+
value: "remix",
|
|
4819
|
+
label: "Remix"
|
|
4820
|
+
},
|
|
4821
|
+
{
|
|
4822
|
+
value: "astro",
|
|
4823
|
+
label: "Astro"
|
|
4824
|
+
}
|
|
4825
|
+
];
|
|
4826
|
+
function Combobox() {
|
|
4827
|
+
var _frameworks_find;
|
|
4828
|
+
var _React37_useState = _sliced_to_array(React37.useState(false), 2), open = _React37_useState[0], setOpen = _React37_useState[1];
|
|
4829
|
+
var _React37_useState1 = _sliced_to_array(React37.useState(""), 2), value = _React37_useState1[0], setValue = _React37_useState1[1];
|
|
4830
|
+
return /* @__PURE__ */ React37.createElement(PopoverPrimitive2.Root, {
|
|
4831
|
+
open: open,
|
|
4832
|
+
onOpenChange: setOpen
|
|
4833
|
+
}, /* @__PURE__ */ React37.createElement(PopoverTrigger, {
|
|
4834
|
+
asChild: true
|
|
4835
|
+
}, /* @__PURE__ */ React37.createElement(Button, {
|
|
4836
|
+
variant: "outline",
|
|
4837
|
+
role: "combobox",
|
|
4838
|
+
"aria-expanded": open,
|
|
4839
|
+
className: "hawa-w-[200px] hawa-justify-between"
|
|
4840
|
+
}, value ? (_frameworks_find = frameworks.find(function(framework) {
|
|
4841
|
+
return framework.value === value;
|
|
4842
|
+
})) === null || _frameworks_find === void 0 ? void 0 : _frameworks_find.label : "Select framework...", /* @__PURE__ */ React37.createElement(import_lucide_react2.ChevronsUpDown, {
|
|
4843
|
+
className: "hawa-ml-2 hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-opacity-50"
|
|
4844
|
+
}))), /* @__PURE__ */ React37.createElement(PopoverContent, {
|
|
4845
|
+
className: "hawa-w-[200px] hawa-p-0"
|
|
4846
|
+
}, /* @__PURE__ */ React37.createElement(Command, null, /* @__PURE__ */ React37.createElement(CommandInput, {
|
|
4847
|
+
placeholder: "Search framework..."
|
|
4848
|
+
}), /* @__PURE__ */ React37.createElement(CommandEmpty, null, "No framework found."), /* @__PURE__ */ React37.createElement(CommandGroup, null, frameworks.map(function(framework) {
|
|
4849
|
+
return /* @__PURE__ */ React37.createElement(CommandItem, {
|
|
4850
|
+
key: framework.value,
|
|
4851
|
+
onSelect: function(currentValue) {
|
|
4852
|
+
setValue(currentValue === value ? "" : currentValue);
|
|
4853
|
+
setOpen(false);
|
|
4854
|
+
}
|
|
4855
|
+
}, /* @__PURE__ */ React37.createElement(import_lucide_react2.Check, {
|
|
4856
|
+
className: cn("hawa-mr-2 hawa-h-4 hawa-w-4", value === framework.value ? "hawa-opacity-100" : "hawa-opacity-0")
|
|
4857
|
+
}), framework.label);
|
|
4858
|
+
})))));
|
|
4859
|
+
}
|
|
4357
4860
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4358
4861
|
0 && (module.exports = {
|
|
4359
4862
|
ActionCard: ActionCard,
|
|
@@ -4372,6 +4875,16 @@ var Logos = {
|
|
|
4372
4875
|
Chip: Chip,
|
|
4373
4876
|
CodeBlock: CodeBlock,
|
|
4374
4877
|
ColorPicker: ColorPicker,
|
|
4878
|
+
Combobox: Combobox,
|
|
4879
|
+
Command: Command,
|
|
4880
|
+
CommandDialog: CommandDialog,
|
|
4881
|
+
CommandEmpty: CommandEmpty,
|
|
4882
|
+
CommandGroup: CommandGroup,
|
|
4883
|
+
CommandInput: CommandInput,
|
|
4884
|
+
CommandItem: CommandItem,
|
|
4885
|
+
CommandList: CommandList,
|
|
4886
|
+
CommandSeparator: CommandSeparator,
|
|
4887
|
+
CommandShortcut: CommandShortcut,
|
|
4375
4888
|
Dialog: Dialog,
|
|
4376
4889
|
DialogContent: DialogContent,
|
|
4377
4890
|
DialogDescription: DialogDescription,
|
|
@@ -4389,9 +4902,13 @@ var Logos = {
|
|
|
4389
4902
|
PinInput: PinInput,
|
|
4390
4903
|
Popover: Popover,
|
|
4391
4904
|
PopoverContent: PopoverContent,
|
|
4905
|
+
PopoverTrigger: PopoverTrigger,
|
|
4906
|
+
Progress: Progress,
|
|
4392
4907
|
Radio: Radio,
|
|
4393
4908
|
ScrollArea: ScrollArea,
|
|
4394
4909
|
ScrollBar: ScrollBar,
|
|
4910
|
+
Select: Select,
|
|
4911
|
+
Separator: Separator,
|
|
4395
4912
|
Skeleton: Skeleton,
|
|
4396
4913
|
Slider: Slider,
|
|
4397
4914
|
Switch: Switch,
|