@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.js CHANGED
@@ -263,6 +263,9 @@ __export(components_exports, {
263
263
  ColorPicker: function() {
264
264
  return ColorPicker;
265
265
  },
266
+ Combobox: function() {
267
+ return Combobox;
268
+ },
266
269
  Command: function() {
267
270
  return Command;
268
271
  },
@@ -344,6 +347,9 @@ __export(components_exports, {
344
347
  PopoverTrigger: function() {
345
348
  return PopoverTrigger;
346
349
  },
350
+ Progress: function() {
351
+ return Progress;
352
+ },
347
353
  Radio: function() {
348
354
  return Radio;
349
355
  },
@@ -356,6 +362,9 @@ __export(components_exports, {
356
362
  Select: function() {
357
363
  return Select;
358
364
  },
365
+ Separator: function() {
366
+ return Separator2;
367
+ },
359
368
  Skeleton: function() {
360
369
  return Skeleton;
361
370
  },
@@ -3812,12 +3821,13 @@ var Input = function(_param) {
3812
3821
  var widthStyles = {
3813
3822
  small: "hawa-w-full hawa-max-w-2xs",
3814
3823
  normal: "hawa-w-1/2",
3815
- full: "hawa-w-full"
3824
+ full: "hawa-w-full",
3825
+ auto: ""
3816
3826
  };
3817
3827
  var defaultStyle = "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-2";
3818
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 ";
3819
3829
  return /* @__PURE__ */ import_react15.default.createElement("div", {
3820
- className: cn(defaultStyle, marginStyles[margin], widthStyles[width], props.className)
3830
+ className: cn(defaultStyle, marginStyles[margin], widthStyles[width], props.containerClassName, "hawa-w-full")
3821
3831
  }, props.label && /* @__PURE__ */ import_react15.default.createElement(Label, null, props.label), props.isLoading ? /* @__PURE__ */ import_react15.default.createElement(Skeleton, {
3822
3832
  className: "hawa-h-[38px] hawa-w-full"
3823
3833
  }) : /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, /* @__PURE__ */ import_react15.default.createElement("div", {
@@ -3826,10 +3836,17 @@ var Input = function(_param) {
3826
3836
  className: cn("hawa-relative")
3827
3837
  }, props.icon && /* @__PURE__ */ import_react15.default.createElement("div", {
3828
3838
  className: "hawa-absolute hawa-left-3 hawa-top-1/2 hawa--translate-y-1/2"
3829
- }, props.icon), /* @__PURE__ */ import_react15.default.createElement("input", _object_spread_props(_object_spread({}, props), {
3839
+ }, props.icon), /* @__PURE__ */ import_react15.default.createElement("input", {
3830
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),
3831
- disabled: preview
3832
- }))), props.iconInside && /* @__PURE__ */ import_react15.default.createElement("div", {
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", {
3833
3850
  className: "hawa-absolute hawa-right-1 hawa-top-[41px] hawa--translate-y-1/2"
3834
3851
  }, props.iconInside), props.helperText && /* @__PURE__ */ import_react15.default.createElement("p", {
3835
3852
  className: "hawa-mb-0 hawa-mt-0 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500"
@@ -3840,25 +3857,6 @@ var import_clsx7 = __toESM(require("clsx"));
3840
3857
  var import_react16 = __toESM(require("react"));
3841
3858
  var import_react_select = __toESM(require("react-select"));
3842
3859
  var import_creatable = __toESM(require("react-select/creatable"));
3843
- var Control = function(_param) {
3844
- 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, [
3845
- "cx",
3846
- "children",
3847
- "getStyles",
3848
- "innerProps",
3849
- "innerRef",
3850
- "size"
3851
- ]);
3852
- var sizeStyles = {
3853
- small: "hawa-h-7 hawa-text-xs",
3854
- normal: "hawa-h-[2.38rem] hawa-text-sm",
3855
- large: ""
3856
- };
3857
- return /* @__PURE__ */ import_react16.default.createElement("div", _object_spread({
3858
- ref: innerRef,
3859
- className: (0, import_clsx7.default)(sizeStyles[size], "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")
3860
- }, innerProps), children);
3861
- };
3862
3860
  var Menu = function(_param) {
3863
3861
  var cx = _param.cx, children = _param.children, getStyles = _param.getStyles, innerProps = _param.innerProps, innerRef = _param.innerRef, props = _object_without_properties(_param, [
3864
3862
  "cx",
@@ -3887,6 +3885,16 @@ var Option = function(_param) /* @__PURE__ */ {
3887
3885
  }, innerProps), children);
3888
3886
  };
3889
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
+ };
3890
3898
  var NoOption = function() {
3891
3899
  var _props_texts;
3892
3900
  var _props_texts_noOptions;
@@ -3899,8 +3907,11 @@ var Select = function(props) {
3899
3907
  }) : !props.isCreatable ? /* @__PURE__ */ import_react16.default.createElement(import_react_select.default, {
3900
3908
  noOptionsMessage: NoOption,
3901
3909
  classNames: {
3910
+ control: function() {
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);
3912
+ },
3902
3913
  container: function() {
3903
- return cn("hawa-rounded", props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer");
3914
+ return cn("hawa-rounded", props.containerClassNames, props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer");
3904
3915
  },
3905
3916
  // TODO: enable keyboard to go to the next item in the list
3906
3917
  placeholder: function() {
@@ -3916,7 +3927,7 @@ var Select = function(props) {
3916
3927
  return "hawa-text-black dark:hawa-text-white hawa-px-2";
3917
3928
  },
3918
3929
  indicatorsContainer: function() {
3919
- return " hawa-px-2 hawa-cursor-pointer hawa-text-muted-foreground";
3930
+ return " hawa-px-0 hawa-cursor-pointer hawa-text-muted-foreground";
3920
3931
  }
3921
3932
  },
3922
3933
  unstyled: true,
@@ -3932,7 +3943,7 @@ var Select = function(props) {
3932
3943
  props.onChange(newValue, action));
3933
3944
  },
3934
3945
  components: {
3935
- Control: Control,
3946
+ // Control,
3936
3947
  Option: Option,
3937
3948
  Menu: Menu
3938
3949
  },
@@ -3945,7 +3956,7 @@ var Select = function(props) {
3945
3956
  },
3946
3957
  classNames: {
3947
3958
  container: function() {
3948
- return cn("hawa-rounded", props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer");
3959
+ return cn("hawa-rounded ", props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer");
3949
3960
  },
3950
3961
  placeholder: function() {
3951
3962
  return "hawa-px-2 hawa-text-muted-foreground";
@@ -3995,8 +4006,10 @@ var PhoneInput = function(props) {
3995
4006
  className: "hawa-mb-2 hawa-block hawa-text-sm hawa-font-medium"
3996
4007
  }, props.label), /* @__PURE__ */ import_react17.default.createElement("div", {
3997
4008
  dir: "ltr",
3998
- className: "hawa-flex hawa-flex-row "
4009
+ className: "hawa-flex hawa-flex-row hawa-w-full "
3999
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",
4000
4013
  options: countries_default,
4001
4014
  isMulti: false,
4002
4015
  isSearchable: true,
@@ -4010,11 +4023,12 @@ var PhoneInput = function(props) {
4010
4023
  onChange: props.handleChange,
4011
4024
  type: "number",
4012
4025
  placeholder: "531045453",
4026
+ width: "auto",
4013
4027
  inputProps: {
4014
- className: "hawa-border-l-0 hawa-border-l-transparent"
4028
+ className: "input-inside-input hawa-border-l-0 hawa-border-l-transparent hawa-rounded-l-none "
4015
4029
  }
4016
4030
  }), props.helperText && /* @__PURE__ */ import_react17.default.createElement("p", {
4017
- className: "hawa-mb-1 hawa-mt-1 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500"
4031
+ className: "hawa-mb-1 hawa-mt-1 hawa-text-xs hawa-text-red-600 dark:hawa-text-red-500"
4018
4032
  }, props.helperText)));
4019
4033
  };
4020
4034
  // components/elements/AppStores.tsx
@@ -4098,15 +4112,229 @@ var AppStores = function(props) {
4098
4112
  className: "hawa-font-sans hawa--mt-1 hawa-text-xl hawa-font-semibold"
4099
4113
  }, "Google Play")))));
4100
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;
4101
4329
  // components/elements/BackToTop.tsx
4102
- var import_react19 = __toESM(require("react"));
4330
+ var import_react23 = __toESM(require("react"));
4103
4331
  var import_clsx8 = require("clsx");
4104
4332
  var BackToTop = function(_param) {
4105
4333
  var props = _extends({}, _object_destructuring_empty(_param));
4106
- var _ref = _sliced_to_array((0, import_react19.useState)(false), 2), visible = _ref[0], setVisible = _ref[1];
4107
- var _ref1 = _sliced_to_array((0, import_react19.useState)(null), 2), rect = _ref1[0], _setRect = _ref1[1];
4108
- var self = (0, import_react19.useRef)(null);
4109
- var _rect = (0, import_react19.useRef)(rect);
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);
4110
4338
  var setRect = function(data) {
4111
4339
  _rect.current = data;
4112
4340
  _setRect(data);
@@ -4140,7 +4368,7 @@ var BackToTop = function(_param) {
4140
4368
  });
4141
4369
  }
4142
4370
  };
4143
- (0, import_react19.useEffect)(function() {
4371
+ (0, import_react23.useEffect)(function() {
4144
4372
  if (!props.anchor.current) return;
4145
4373
  props.anchor.current.addEventListener("scroll", onScroll);
4146
4374
  var interval = setInterval(function() {
@@ -4172,7 +4400,7 @@ var BackToTop = function(_param) {
4172
4400
  };
4173
4401
  return style;
4174
4402
  };
4175
- return /* @__PURE__ */ import_react19.default.createElement(Button, {
4403
+ return /* @__PURE__ */ import_react23.default.createElement(Button, {
4176
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"),
4177
4405
  onClick: backToTop,
4178
4406
  style: _object_spread_props(_object_spread({}, getStyles()), {
@@ -4180,113 +4408,113 @@ var BackToTop = function(_param) {
4180
4408
  }),
4181
4409
  ref: self,
4182
4410
  size: "icon"
4183
- }, /* @__PURE__ */ import_react19.default.createElement("svg", {
4411
+ }, /* @__PURE__ */ import_react23.default.createElement("svg", {
4184
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"),
4185
4413
  "aria-label": "Arrow Icon",
4186
4414
  viewBox: "0 0 20 20",
4187
4415
  fill: "currentColor"
4188
- }, /* @__PURE__ */ import_react19.default.createElement("path", {
4416
+ }, /* @__PURE__ */ import_react23.default.createElement("path", {
4189
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"
4190
4418
  })));
4191
4419
  };
4192
4420
  // components/elements/Tabs.tsx
4193
- var React31 = __toESM(require("react"));
4421
+ var React33 = __toESM(require("react"));
4194
4422
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
4195
- var TabsContext = React31.createContext({
4423
+ var TabsContext = React33.createContext({
4196
4424
  orientation: "vertical"
4197
4425
  });
4198
- var Tabs = React31.forwardRef(function(_param, ref) /* @__PURE__ */ {
4426
+ var Tabs = React33.forwardRef(function(_param, ref) /* @__PURE__ */ {
4199
4427
  var className = _param.className, orientation = _param.orientation, props = _object_without_properties(_param, [
4200
4428
  "className",
4201
4429
  "orientation"
4202
4430
  ]);
4203
- return React31.createElement(TabsPrimitive.Root, _object_spread({
4431
+ return React33.createElement(TabsPrimitive.Root, _object_spread({
4204
4432
  ref: ref,
4205
4433
  className: cn("hawa-flex hawa-gap-2", orientation === "vertical" ? "hawa-flex-row" : "hawa-flex-col", className)
4206
- }, props), /* @__PURE__ */ React31.createElement(TabsContext.Provider, {
4434
+ }, props), /* @__PURE__ */ React33.createElement(TabsContext.Provider, {
4207
4435
  value: {
4208
4436
  orientation: orientation
4209
4437
  }
4210
4438
  }, props.children));
4211
4439
  });
4212
4440
  Tabs.displayName = TabsPrimitive.Root.displayName;
4213
- var TabsList = React31.forwardRef(function(_param, ref) {
4441
+ var TabsList = React33.forwardRef(function(_param, ref) {
4214
4442
  var className = _param.className, props = _object_without_properties(_param, [
4215
4443
  "className"
4216
4444
  ]);
4217
- var orientation = React31.useContext(TabsContext).orientation;
4445
+ var orientation = React33.useContext(TabsContext).orientation;
4218
4446
  console.log("orient ", orientation);
4219
- return /* @__PURE__ */ React31.createElement(TabsPrimitive.List, _object_spread({
4447
+ return /* @__PURE__ */ React33.createElement(TabsPrimitive.List, _object_spread({
4220
4448
  ref: ref,
4221
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)
4222
4450
  }, props));
4223
4451
  });
4224
4452
  TabsList.displayName = TabsPrimitive.List.displayName;
4225
- var TabsTrigger = React31.forwardRef(function(_param, ref) {
4453
+ var TabsTrigger = React33.forwardRef(function(_param, ref) {
4226
4454
  var className = _param.className, props = _object_without_properties(_param, [
4227
4455
  "className"
4228
4456
  ]);
4229
- return /* @__PURE__ */ React31.createElement(TabsPrimitive.Trigger, _object_spread({
4457
+ return /* @__PURE__ */ React33.createElement(TabsPrimitive.Trigger, _object_spread({
4230
4458
  ref: ref,
4231
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)
4232
4460
  }, props));
4233
4461
  });
4234
4462
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
4235
- var TabsContent = React31.forwardRef(function(_param, ref) /* @__PURE__ */ {
4463
+ var TabsContent = React33.forwardRef(function(_param, ref) /* @__PURE__ */ {
4236
4464
  var className = _param.className, props = _object_without_properties(_param, [
4237
4465
  "className"
4238
4466
  ]);
4239
- return React31.createElement(TabsPrimitive.Content, _object_spread({
4467
+ return React33.createElement(TabsPrimitive.Content, _object_spread({
4240
4468
  ref: ref,
4241
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)
4242
4470
  }, props));
4243
4471
  });
4244
4472
  TabsContent.displayName = TabsPrimitive.Content.displayName;
4245
4473
  // components/elements/ScrollArea.tsx
4246
- var React32 = __toESM(require("react"));
4474
+ var React34 = __toESM(require("react"));
4247
4475
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
4248
- var ScrollArea = React32.forwardRef(function(_param, ref) /* @__PURE__ */ {
4476
+ var ScrollArea = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
4249
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, [
4250
4478
  "className",
4251
4479
  "children",
4252
4480
  "orientation"
4253
4481
  ]);
4254
- return React32.createElement(ScrollAreaPrimitive.Root, _object_spread({
4482
+ return React34.createElement(ScrollAreaPrimitive.Root, _object_spread({
4255
4483
  ref: ref,
4256
4484
  className: cn("hawa-relative hawa-overflow-hidden", className)
4257
- }, props), /* @__PURE__ */ React32.createElement(ScrollAreaPrimitive.Viewport, {
4485
+ }, props), /* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.Viewport, {
4258
4486
  className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]"
4259
- }, children), /* @__PURE__ */ React32.createElement(ScrollBar, {
4487
+ }, children), /* @__PURE__ */ React34.createElement(ScrollBar, {
4260
4488
  orientation: orientation
4261
- }), /* @__PURE__ */ React32.createElement(ScrollAreaPrimitive.Corner, null));
4489
+ }), /* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.Corner, null));
4262
4490
  });
4263
4491
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
4264
- var ScrollBar = React32.forwardRef(function(_param, ref) /* @__PURE__ */ {
4492
+ var ScrollBar = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
4265
4493
  var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "vertical" : _param_orientation, props = _object_without_properties(_param, [
4266
4494
  "className",
4267
4495
  "orientation"
4268
4496
  ]);
4269
- return React32.createElement(ScrollAreaPrimitive.ScrollAreaScrollbar, _object_spread({
4497
+ return React34.createElement(ScrollAreaPrimitive.ScrollAreaScrollbar, _object_spread({
4270
4498
  ref: ref,
4271
4499
  orientation: orientation,
4272
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)
4273
- }, props), /* @__PURE__ */ React32.createElement(ScrollAreaPrimitive.ScrollAreaThumb, {
4501
+ }, props), /* @__PURE__ */ React34.createElement(ScrollAreaPrimitive.ScrollAreaThumb, {
4274
4502
  className: cn("hawa-relative hawa-rounded-full hawa-bg-border", orientation === "vertical" && "hawa-flex-1")
4275
4503
  }));
4276
4504
  });
4277
4505
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
4278
4506
  // components/elements/Logos.tsx
4279
- var import_react20 = __toESM(require("react"));
4507
+ var import_react24 = __toESM(require("react"));
4280
4508
  var Logos = {
4281
4509
  logo: function(props) {
4282
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4510
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4283
4511
  xmlns: "http://www.w3.org/2000/svg",
4284
4512
  viewBox: "0 0 256 256"
4285
- }, props), /* @__PURE__ */ import_react20.default.createElement("rect", {
4513
+ }, props), /* @__PURE__ */ import_react24.default.createElement("rect", {
4286
4514
  width: "256",
4287
4515
  height: "256",
4288
4516
  fill: "none"
4289
- }), /* @__PURE__ */ import_react20.default.createElement("line", {
4517
+ }), /* @__PURE__ */ import_react24.default.createElement("line", {
4290
4518
  x1: "208",
4291
4519
  y1: "128",
4292
4520
  x2: "128",
@@ -4296,7 +4524,7 @@ var Logos = {
4296
4524
  strokeLinecap: "round",
4297
4525
  strokeLinejoin: "round",
4298
4526
  strokeWidth: "16"
4299
- }), /* @__PURE__ */ import_react20.default.createElement("line", {
4527
+ }), /* @__PURE__ */ import_react24.default.createElement("line", {
4300
4528
  x1: "192",
4301
4529
  y1: "40",
4302
4530
  x2: "40",
@@ -4309,7 +4537,7 @@ var Logos = {
4309
4537
  }));
4310
4538
  },
4311
4539
  mail: function(props) {
4312
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4540
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4313
4541
  stroke: "currentColor",
4314
4542
  fill: "none",
4315
4543
  "stroke-width": "2",
@@ -4319,14 +4547,14 @@ var Logos = {
4319
4547
  height: "1em",
4320
4548
  width: "1em",
4321
4549
  xmlns: "http://www.w3.org/2000/svg"
4322
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4550
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4323
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"
4324
- }), /* @__PURE__ */ import_react20.default.createElement("polyline", {
4552
+ }), /* @__PURE__ */ import_react24.default.createElement("polyline", {
4325
4553
  points: "22,6 12,13 2,6"
4326
4554
  }));
4327
4555
  },
4328
4556
  phone: function(props) {
4329
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4557
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4330
4558
  stroke: "currentColor",
4331
4559
  fill: "none",
4332
4560
  "stroke-width": "2",
@@ -4335,131 +4563,131 @@ var Logos = {
4335
4563
  height: "1em",
4336
4564
  width: "1em",
4337
4565
  xmlns: "http://www.w3.org/2000/svg"
4338
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4566
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4339
4567
  "stroke-linecap": "round",
4340
4568
  "stroke-linejoin": "round",
4341
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"
4342
4570
  }));
4343
4571
  },
4344
4572
  twitter: function(props) {
4345
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4573
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4346
4574
  xmlns: "http://www.w3.org/2000/svg",
4347
4575
  viewBox: "0 0 24 24"
4348
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4576
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4349
4577
  fill: "currentColor",
4350
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"
4351
4579
  }));
4352
4580
  },
4353
4581
  microsoft: function(props) {
4354
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4582
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4355
4583
  xmlns: "http://www.w3.org/2000/svg",
4356
4584
  viewBox: "0 0 20 20"
4357
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4585
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4358
4586
  fill: "currentColor",
4359
4587
  d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
4360
4588
  }));
4361
4589
  },
4362
4590
  gitHub: function(props) {
4363
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4591
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4364
4592
  viewBox: "0 0 438.549 438.549"
4365
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4593
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4366
4594
  fill: "currentColor",
4367
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"
4368
4596
  }));
4369
4597
  },
4370
4598
  radix: function(props) {
4371
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4599
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4372
4600
  viewBox: "0 0 25 25",
4373
4601
  fill: "none"
4374
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4602
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4375
4603
  d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
4376
4604
  fill: "currentcolor"
4377
- }), /* @__PURE__ */ import_react20.default.createElement("path", {
4605
+ }), /* @__PURE__ */ import_react24.default.createElement("path", {
4378
4606
  d: "M12 0H4V8H12V0Z",
4379
4607
  fill: "currentcolor"
4380
- }), /* @__PURE__ */ import_react20.default.createElement("path", {
4608
+ }), /* @__PURE__ */ import_react24.default.createElement("path", {
4381
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",
4382
4610
  fill: "currentcolor"
4383
4611
  }));
4384
4612
  },
4385
4613
  aria: function(props) {
4386
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4614
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4387
4615
  role: "img",
4388
4616
  viewBox: "0 0 24 24",
4389
4617
  fill: "currentColor"
4390
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4618
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4391
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"
4392
4620
  }));
4393
4621
  },
4394
4622
  npm: function(props) {
4395
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4623
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4396
4624
  viewBox: "0 0 24 24"
4397
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4625
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4398
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",
4399
4627
  fill: "currentColor"
4400
4628
  }));
4401
4629
  },
4402
4630
  yarn: function(props) {
4403
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4631
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4404
4632
  viewBox: "0 0 24 24"
4405
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4633
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4406
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",
4407
4635
  fill: "currentColor"
4408
4636
  }));
4409
4637
  },
4410
4638
  pnpm: function(props) {
4411
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4639
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4412
4640
  viewBox: "0 0 24 24"
4413
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4641
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4414
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",
4415
4643
  fill: "currentColor"
4416
4644
  }));
4417
4645
  },
4418
4646
  react: function(props) {
4419
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4647
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4420
4648
  viewBox: "0 0 24 24"
4421
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4649
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4422
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",
4423
4651
  fill: "currentColor"
4424
4652
  }));
4425
4653
  },
4426
4654
  tailwind: function(props) {
4427
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4655
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4428
4656
  viewBox: "0 0 24 24"
4429
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4657
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4430
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",
4431
4659
  fill: "currentColor"
4432
4660
  }));
4433
4661
  },
4434
4662
  google: function(props) {
4435
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4663
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4436
4664
  role: "img",
4437
4665
  viewBox: "0 0 24 24"
4438
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4666
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4439
4667
  fill: "currentColor",
4440
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"
4441
4669
  }));
4442
4670
  },
4443
4671
  apple: function(props) {
4444
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4672
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4445
4673
  role: "img",
4446
4674
  viewBox: "0 0 24 24"
4447
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4675
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4448
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",
4449
4677
  fill: "currentColor"
4450
4678
  }));
4451
4679
  },
4452
4680
  paypal: function(props) {
4453
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4681
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4454
4682
  role: "img",
4455
4683
  viewBox: "0 0 24 24"
4456
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4684
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4457
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",
4458
4686
  fill: "currentColor"
4459
4687
  }));
4460
4688
  },
4461
4689
  spinner: function(props) {
4462
- return /* @__PURE__ */ import_react20.default.createElement("svg", _object_spread({
4690
+ return /* @__PURE__ */ import_react24.default.createElement("svg", _object_spread({
4463
4691
  xmlns: "http://www.w3.org/2000/svg",
4464
4692
  width: "24",
4465
4693
  height: "24",
@@ -4469,20 +4697,20 @@ var Logos = {
4469
4697
  strokeWidth: "2",
4470
4698
  strokeLinecap: "round",
4471
4699
  strokeLinejoin: "round"
4472
- }, props), /* @__PURE__ */ import_react20.default.createElement("path", {
4700
+ }, props), /* @__PURE__ */ import_react24.default.createElement("path", {
4473
4701
  d: "M21 12a9 9 0 1 1-6.219-8.56"
4474
4702
  }));
4475
4703
  }
4476
4704
  };
4477
4705
  // components/elements/Command.tsx
4478
- var React34 = __toESM(require("react"));
4706
+ var React36 = __toESM(require("react"));
4479
4707
  var import_cmdk = require("cmdk");
4480
4708
  var import_lucide_react = require("lucide-react");
4481
- var Command = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
4709
+ var Command = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
4482
4710
  var className = _param.className, props = _object_without_properties(_param, [
4483
4711
  "className"
4484
4712
  ]);
4485
- return React34.createElement(import_cmdk.Command, _object_spread({
4713
+ return React36.createElement(import_cmdk.Command, _object_spread({
4486
4714
  ref: ref,
4487
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)
4488
4716
  }, props));
@@ -4492,69 +4720,69 @@ var CommandDialog = function(_param) {
4492
4720
  var children = _param.children, props = _object_without_properties(_param, [
4493
4721
  "children"
4494
4722
  ]);
4495
- return /* @__PURE__ */ React34.createElement(Dialog, _object_spread({}, props), /* @__PURE__ */ React34.createElement(DialogContent, {
4723
+ return /* @__PURE__ */ React36.createElement(Dialog, _object_spread({}, props), /* @__PURE__ */ React36.createElement(DialogContent, {
4496
4724
  className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg"
4497
- }, /* @__PURE__ */ React34.createElement(Command, {
4725
+ }, /* @__PURE__ */ React36.createElement(Command, {
4498
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"
4499
4727
  }, children)));
4500
4728
  };
4501
- var CommandInput = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
4729
+ var CommandInput = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
4502
4730
  var className = _param.className, props = _object_without_properties(_param, [
4503
4731
  "className"
4504
4732
  ]);
4505
- return React34.createElement("div", {
4733
+ return React36.createElement("div", {
4506
4734
  className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
4507
4735
  "cmdk-input-wrapper": ""
4508
- }, /* @__PURE__ */ React34.createElement(import_lucide_react.Search, {
4736
+ }, /* @__PURE__ */ React36.createElement(import_lucide_react.Search, {
4509
4737
  className: "hawa-mr-2 hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-opacity-50"
4510
- }), /* @__PURE__ */ React34.createElement(import_cmdk.Command.Input, _object_spread({
4738
+ }), /* @__PURE__ */ React36.createElement(import_cmdk.Command.Input, _object_spread({
4511
4739
  ref: ref,
4512
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)
4513
4741
  }, props)));
4514
4742
  });
4515
4743
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
4516
- var CommandList = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
4744
+ var CommandList = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
4517
4745
  var className = _param.className, props = _object_without_properties(_param, [
4518
4746
  "className"
4519
4747
  ]);
4520
- return React34.createElement(import_cmdk.Command.List, _object_spread({
4748
+ return React36.createElement(import_cmdk.Command.List, _object_spread({
4521
4749
  ref: ref,
4522
4750
  className: cn("hawa-max-h-[300px] hawa-overflow-y-auto hawa-overflow-x-hidden", className)
4523
4751
  }, props));
4524
4752
  });
4525
4753
  CommandList.displayName = import_cmdk.Command.List.displayName;
4526
- var CommandEmpty = React34.forwardRef(function(props, ref) {
4527
- return /* @__PURE__ */ React34.createElement(import_cmdk.Command.Empty, _object_spread({
4754
+ var CommandEmpty = React36.forwardRef(function(props, ref) {
4755
+ return /* @__PURE__ */ React36.createElement(import_cmdk.Command.Empty, _object_spread({
4528
4756
  ref: ref,
4529
4757
  className: "hawa-py-6 hawa-text-center hawa-text-sm"
4530
4758
  }, props));
4531
4759
  });
4532
4760
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
4533
- var CommandGroup = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
4761
+ var CommandGroup = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
4534
4762
  var className = _param.className, props = _object_without_properties(_param, [
4535
4763
  "className"
4536
4764
  ]);
4537
- return React34.createElement(import_cmdk.Command.Group, _object_spread({
4765
+ return React36.createElement(import_cmdk.Command.Group, _object_spread({
4538
4766
  ref: ref,
4539
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)
4540
4768
  }, props));
4541
4769
  });
4542
4770
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
4543
- var CommandSeparator = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
4771
+ var CommandSeparator = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
4544
4772
  var className = _param.className, props = _object_without_properties(_param, [
4545
4773
  "className"
4546
4774
  ]);
4547
- return React34.createElement(import_cmdk.Command.Separator, _object_spread({
4775
+ return React36.createElement(import_cmdk.Command.Separator, _object_spread({
4548
4776
  ref: ref,
4549
4777
  className: cn("hawa--mx-1 hawa-h-px hawa-bg-border", className)
4550
4778
  }, props));
4551
4779
  });
4552
4780
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
4553
- var CommandItem = React34.forwardRef(function(_param, ref) /* @__PURE__ */ {
4781
+ var CommandItem = React36.forwardRef(function(_param, ref) /* @__PURE__ */ {
4554
4782
  var className = _param.className, props = _object_without_properties(_param, [
4555
4783
  "className"
4556
4784
  ]);
4557
- return React34.createElement(import_cmdk.Command.Item, _object_spread({
4785
+ return React36.createElement(import_cmdk.Command.Item, _object_spread({
4558
4786
  ref: ref,
4559
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)
4560
4788
  }, props));
@@ -4564,11 +4792,71 @@ var CommandShortcut = function(_param) {
4564
4792
  var className = _param.className, props = _object_without_properties(_param, [
4565
4793
  "className"
4566
4794
  ]);
4567
- return /* @__PURE__ */ React34.createElement("span", _object_spread({
4795
+ return /* @__PURE__ */ React36.createElement("span", _object_spread({
4568
4796
  className: cn("hawa-ml-auto hawa-text-xs hawa-tracking-widest hawa-text-muted-foreground", className)
4569
4797
  }, props));
4570
4798
  };
4571
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
+ }
4572
4860
  // Annotate the CommonJS export names for ESM import in node:
4573
4861
  0 && (module.exports = {
4574
4862
  ActionCard: ActionCard,
@@ -4587,6 +4875,7 @@ CommandShortcut.displayName = "CommandShortcut";
4587
4875
  Chip: Chip,
4588
4876
  CodeBlock: CodeBlock,
4589
4877
  ColorPicker: ColorPicker,
4878
+ Combobox: Combobox,
4590
4879
  Command: Command,
4591
4880
  CommandDialog: CommandDialog,
4592
4881
  CommandEmpty: CommandEmpty,
@@ -4614,10 +4903,12 @@ CommandShortcut.displayName = "CommandShortcut";
4614
4903
  Popover: Popover,
4615
4904
  PopoverContent: PopoverContent,
4616
4905
  PopoverTrigger: PopoverTrigger,
4906
+ Progress: Progress,
4617
4907
  Radio: Radio,
4618
4908
  ScrollArea: ScrollArea,
4619
4909
  ScrollBar: ScrollBar,
4620
4910
  Select: Select,
4911
+ Separator: Separator,
4621
4912
  Skeleton: Skeleton,
4622
4913
  Slider: Slider,
4623
4914
  Switch: Switch,