@sikka/hawa 0.14.7-next → 0.14.9-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.d.mts CHANGED
@@ -764,6 +764,7 @@ type SelectOptionProps = {
764
764
  };
765
765
  type SelectTypes = {
766
766
  label?: string;
767
+ hideHelperText?: boolean;
767
768
  options?: SelectOptionProps[];
768
769
  labelKey?: string;
769
770
  isCreatable?: boolean;
package/dist/index.d.ts CHANGED
@@ -764,6 +764,7 @@ type SelectOptionProps = {
764
764
  };
765
765
  type SelectTypes = {
766
766
  label?: string;
767
+ hideHelperText?: boolean;
767
768
  options?: SelectOptionProps[];
768
769
  labelKey?: string;
769
770
  isCreatable?: boolean;
package/dist/index.js CHANGED
@@ -1937,7 +1937,7 @@ var CheckboxElement = React16.forwardRef(function(_param, ref) /* @__PURE__ */ {
1937
1937
  ]);
1938
1938
  return React16.createElement(CheckboxPrimitive.Root, _object_spread({
1939
1939
  ref: ref,
1940
- className: cn("hawa-peer hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-rounded-sm hawa-border hawa-border-primary hawa-ring-offset-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50 data-[state=checked]:hawa-bg-primary data-[state=checked]:hawa-text-primary-foreground", className)
1940
+ className: cn("hawa-peer hawa-icon hawa-shrink-0 hawa-rounded-sm hawa-border hawa-border-primary hawa-ring-offset-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50 data-[state=checked]:hawa-bg-primary data-[state=checked]:hawa-text-primary-foreground", className)
1941
1941
  }, props), /* @__PURE__ */ React16.createElement(CheckboxPrimitive.Indicator, {
1942
1942
  className: cn("hawa-flex hawa-items-center hawa-justify-center hawa-text-current")
1943
1943
  }, /* @__PURE__ */ React16.createElement("svg", {
@@ -2024,7 +2024,7 @@ var ToastClose = React17.forwardRef(function(_param, ref) /* @__PURE__ */ {
2024
2024
  }, props), /* @__PURE__ */ React17.createElement("svg", {
2025
2025
  "aria-label": "Close Icon",
2026
2026
  "aria-hidden": "true",
2027
- className: "hawa-h-4 hawa-w-4",
2027
+ className: "hawa-icon",
2028
2028
  fill: "currentColor",
2029
2029
  viewBox: "0 0 20 20"
2030
2030
  }, /* @__PURE__ */ React17.createElement("path", {
@@ -4908,7 +4908,7 @@ var Select = function(_param) {
4908
4908
  onInputChange: function(newValue, action) {
4909
4909
  return props.onInputChange(newValue, action);
4910
4910
  }
4911
- }), /* @__PURE__ */ import_react21.default.createElement("p", {
4911
+ }), !props.hideHelperText && /* @__PURE__ */ import_react21.default.createElement("p", {
4912
4912
  className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
4913
4913
  }, props.helperText));
4914
4914
  };
@@ -4932,12 +4932,13 @@ var PhoneInput = function(props) {
4932
4932
  }
4933
4933
  };
4934
4934
  return /* @__PURE__ */ import_react22.default.createElement("div", {
4935
- className: "hawa-flex hawa-flex-col hawa-w-full hawa-gap-2"
4935
+ className: "hawa-flex hawa-flex-col hawa-w-full hawa-gap-2 hawa-h-fit"
4936
4936
  }, props.label && /* @__PURE__ */ import_react22.default.createElement(Label2, null, props.label), /* @__PURE__ */ import_react22.default.createElement("div", {
4937
4937
  dir: "ltr",
4938
4938
  className: "hawa-flex hawa-flex-row hawa-w-full"
4939
4939
  }, /* @__PURE__ */ import_react22.default.createElement(Select, {
4940
4940
  width: "fit",
4941
+ hideHelperText: true,
4941
4942
  phoneCode: true,
4942
4943
  hideIndicator: true,
4943
4944
  placeholder: "Code",
@@ -4949,7 +4950,7 @@ var PhoneInput = function(props) {
4949
4950
  value: countryCode === null || countryCode === void 0 ? void 0 : countryCode.label,
4950
4951
  onChange: setCountryCode
4951
4952
  }), /* @__PURE__ */ import_react22.default.createElement("div", {
4952
- className: "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-w-full hawa-gap-0"
4953
+ className: "hawa-flex hawa-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-w-full hawa-gap-0"
4953
4954
  }, /* @__PURE__ */ import_react22.default.createElement("input", {
4954
4955
  ref: inputRef,
4955
4956
  id: "phone-number",
@@ -5170,7 +5171,7 @@ var SortButton = function(props) {
5170
5171
  strokeWidth: "2",
5171
5172
  strokeLinecap: "round",
5172
5173
  strokeLinejoin: "round",
5173
- className: props.condensed ? "hawa-h-3 hawa-w-3" : "hawa-h-4 hawa-w-4"
5174
+ className: props.condensed ? "hawa-h-3 hawa-w-3" : "hawa-icon"
5174
5175
  }, /* @__PURE__ */ import_react25.default.createElement("path", {
5175
5176
  d: "m21 16-4 4-4-4"
5176
5177
  }), /* @__PURE__ */ import_react25.default.createElement("path", {
@@ -5675,7 +5676,7 @@ var AccordionTrigger = React42.forwardRef(function(_param, ref) /* @__PURE__ */
5675
5676
  strokeWidth: "2",
5676
5677
  strokeLinecap: "round",
5677
5678
  strokeLinejoin: "round",
5678
- className: "hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-transition-transform hawa-duration-200"
5679
+ className: "hawa-icon hawa-shrink-0 hawa-transition-transform hawa-duration-200"
5679
5680
  }, /* @__PURE__ */ React42.createElement("path", {
5680
5681
  d: "m6 9 6 6 6-6"
5681
5682
  }))));
@@ -6257,6 +6258,7 @@ var CommandInput = React51.forwardRef(function(_param, ref) /* @__PURE__ */ {
6257
6258
  className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
6258
6259
  "cmdk-input-wrapper": ""
6259
6260
  }, /* @__PURE__ */ React51.createElement("svg", {
6261
+ "aria-label": "Search Icon",
6260
6262
  xmlns: "http://www.w3.org/2000/svg",
6261
6263
  width: "24",
6262
6264
  height: "24",
@@ -6266,7 +6268,7 @@ var CommandInput = React51.forwardRef(function(_param, ref) /* @__PURE__ */ {
6266
6268
  strokeWidth: "2",
6267
6269
  strokeLinecap: "round",
6268
6270
  strokeLinejoin: "round",
6269
- className: "hawa-mr-2 hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-opacity-50"
6271
+ className: "hawa-mr-2 hawa-icon hawa-shrink-0 hawa-opacity-50"
6270
6272
  }, /* @__PURE__ */ React51.createElement("circle", {
6271
6273
  cx: "11",
6272
6274
  cy: "11",
@@ -6375,7 +6377,8 @@ var Combobox = function(_param) {
6375
6377
  return item[valueKey] === value;
6376
6378
  }) || {}, labelKey) : props.placeholder || "...", /* @__PURE__ */ React52.createElement("svg", {
6377
6379
  xmlns: "http://www.w3.org/2000/svg",
6378
- className: cn("hawa-w-4 hawa-h-4 hawa-transition-all", !props.preview ? "hawa-opacity-100 hawa-visible" : "hawa-opacity-0 hawa-invisible"),
6380
+ className: cn("hawa-icon hawa-transition-all", !props.preview ? "hawa-opacity-100 hawa-visible" : "hawa-opacity-0 hawa-invisible"),
6381
+ "aria-label": "Chevron down icon",
6379
6382
  viewBox: "0 0 24 24",
6380
6383
  fill: "none",
6381
6384
  stroke: "currentColor",
@@ -6404,6 +6407,7 @@ var Combobox = function(_param) {
6404
6407
  setOpen(false);
6405
6408
  }
6406
6409
  }, /* @__PURE__ */ React52.createElement("svg", {
6410
+ "aria-label": "Check Icon",
6407
6411
  xmlns: "http://www.w3.org/2000/svg",
6408
6412
  width: "24",
6409
6413
  height: "24",
@@ -6413,7 +6417,7 @@ var Combobox = function(_param) {
6413
6417
  strokeWidth: "2",
6414
6418
  strokeLinecap: "round",
6415
6419
  strokeLinejoin: "round",
6416
- className: cn("hawa-mr-2 hawa-h-4 hawa-w-4", value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0")
6420
+ className: cn("hawa-mr-2 hawa-icon", value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0")
6417
6421
  }, /* @__PURE__ */ React52.createElement("polyline", {
6418
6422
  points: "20 6 9 17 4 12"
6419
6423
  })), getProperty(item, labelKey));
@@ -6724,6 +6728,7 @@ var NavigationMenuTrigger = React57.forwardRef(function(_param, ref) /* @__PURE_
6724
6728
  ref: ref,
6725
6729
  className: cn(navigationMenuTriggerStyle(), "hawa-group", className)
6726
6730
  }, props), children, " ", /* @__PURE__ */ React57.createElement("svg", {
6731
+ "aria-label": "Chevron Icon",
6727
6732
  xmlns: "http://www.w3.org/2000/svg",
6728
6733
  width: "24",
6729
6734
  height: "24",
@@ -6734,7 +6739,7 @@ var NavigationMenuTrigger = React57.forwardRef(function(_param, ref) /* @__PURE_
6734
6739
  "stroke-linecap": "round",
6735
6740
  "stroke-linejoin": "round",
6736
6741
  "aria-hidden": "true",
6737
- className: "hawa-relative hawa-top-[1px] hawa-h-4 hawa-w-4 hawa-transition hawa-duration-200 group-data-[state=open]:hawa-rotate-180"
6742
+ className: "hawa-relative hawa-top-[1px] hawa-icon hawa-transition hawa-duration-200 group-data-[state=open]:hawa-rotate-180"
6738
6743
  }, /* @__PURE__ */ React57.createElement("path", {
6739
6744
  d: "m6 9 6 6 6-6"
6740
6745
  })));
@@ -6867,7 +6872,7 @@ var AccordionTrigger2 = React59.forwardRef(function(_param, ref) /* @__PURE__ */
6867
6872
  viewBox: "0 0 16 16",
6868
6873
  height: "1em",
6869
6874
  width: "1em",
6870
- className: "hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
6875
+ className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
6871
6876
  }, /* @__PURE__ */ React59.createElement("path", {
6872
6877
  d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"
6873
6878
  }))));
@@ -6926,7 +6931,7 @@ var SidebarItem = function(_param) {
6926
6931
  if (item.subitems) {
6927
6932
  return /* @__PURE__ */ React59.createElement(AccordionItem2, {
6928
6933
  value: item.value,
6929
- className: "hawa-overflow-x-clip",
6934
+ className: "hawa-overflow-x-clip ",
6930
6935
  dir: direction
6931
6936
  }, /* @__PURE__ */ React59.createElement(AccordionTrigger2, {
6932
6937
  className: cn("hawa-overflow-x-clip hawa-w-full", props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hover:hawa-bg-primary/10 hawa-h-10", item.subitems && item.subitems.some(function(subitem) {
@@ -6934,7 +6939,7 @@ var SidebarItem = function(_param) {
6934
6939
  }) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""),
6935
6940
  showArrow: isOpen
6936
6941
  }, /* @__PURE__ */ React59.createElement("div", {
6937
- className: cn(!isOpen && "hawa-py-1", "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2")
6942
+ className: cn("hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-h-fit")
6938
6943
  }, item.icon && item.icon, /* @__PURE__ */ React59.createElement("span", {
6939
6944
  className: cn("hawa-transition-all ", isOpen ? "hawa-opacity-100" : "hawa-opacity-0")
6940
6945
  }, item.label))), item.subitems && /* @__PURE__ */ React59.createElement(AccordionContent2, {
@@ -7554,7 +7559,7 @@ var DocsLayout = function(_param) {
7554
7559
  variant: "ghost",
7555
7560
  size: "smallIcon"
7556
7561
  }, /* @__PURE__ */ import_react41.default.createElement(Logos.github, {
7557
- className: "hawa-w-4 hawa-h-4"
7562
+ className: "hawa-icon"
7558
7563
  })))), /* @__PURE__ */ import_react41.default.createElement("div", {
7559
7564
  className: cn("hawa-fixed hawa-bg-primary-foreground hawa-z-40 hawa-flex hawa-flex-col hawa-justify-between hawa-overflow-x-clip hawa-transition-all", isRTL ? "hawa-right-0 hawa-top-0 hawa-h-full" : "hawa-left-0 hawa-top-0 hawa-h-full", "hawa-fixed hawa-p-0 hawa-py-2 hawa-overflow-x-clip hawa-transition-all", "hawa-top-14", openSideMenu ? "hawa-overflow-auto" : "hawa-overflow-hidden"),
7560
7565
  style: {
@@ -7605,43 +7610,43 @@ var AuthButtons = function(props) {
7605
7610
  variant: "outline",
7606
7611
  onClick: props.handleGoogle
7607
7612
  }, /* @__PURE__ */ import_react42.default.createElement(Logos.google, {
7608
- className: "hawa-h-4 hawa-w-4"
7613
+ className: "hawa-icon"
7609
7614
  }), (_props_texts_continueWithGoogle = (_props_texts = props.texts) === null || _props_texts === void 0 ? void 0 : _props_texts.continueWithGoogle) !== null && _props_texts_continueWithGoogle !== void 0 ? _props_texts_continueWithGoogle : "Continue With Google"), props.viaGithub && /* @__PURE__ */ import_react42.default.createElement(Button, {
7610
7615
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7611
7616
  variant: "outline",
7612
7617
  onClick: props.handleGithub
7613
7618
  }, /* @__PURE__ */ import_react42.default.createElement(Logos.github, {
7614
- className: "hawa-h-4 hawa-w-4"
7619
+ className: "hawa-icon"
7615
7620
  }), (_props_texts_continueWithGithub = (_props_texts1 = props.texts) === null || _props_texts1 === void 0 ? void 0 : _props_texts1.continueWithGithub) !== null && _props_texts_continueWithGithub !== void 0 ? _props_texts_continueWithGithub : "Continue With Github"), props.viaTwitter && /* @__PURE__ */ import_react42.default.createElement(Button, {
7616
7621
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7617
7622
  variant: "outline",
7618
7623
  onClick: props.handleTwitter
7619
7624
  }, /* @__PURE__ */ import_react42.default.createElement(Logos.twitter, {
7620
- className: "hawa-h-4 hawa-w-4"
7625
+ className: "hawa-icon"
7621
7626
  }), (_props_texts_continueWithTwitter = (_props_texts2 = props.texts) === null || _props_texts2 === void 0 ? void 0 : _props_texts2.continueWithTwitter) !== null && _props_texts_continueWithTwitter !== void 0 ? _props_texts_continueWithTwitter : "Continue With Twitter"), props.viaApple && /* @__PURE__ */ import_react42.default.createElement(Button, {
7622
7627
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7623
7628
  variant: "outline",
7624
7629
  onClick: props.handleApple
7625
7630
  }, /* @__PURE__ */ import_react42.default.createElement(Logos.apple, {
7626
- className: "hawa-h-4 hawa-w-4"
7631
+ className: "hawa-icon"
7627
7632
  }), (_props_texts_continueWithApple = (_props_texts3 = props.texts) === null || _props_texts3 === void 0 ? void 0 : _props_texts3.continueWithApple) !== null && _props_texts_continueWithApple !== void 0 ? _props_texts_continueWithApple : "Continue With Apple"), props.viaMicrosoft && /* @__PURE__ */ import_react42.default.createElement(Button, {
7628
7633
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7629
7634
  variant: "outline",
7630
7635
  onClick: props.handleMicrosoft
7631
7636
  }, /* @__PURE__ */ import_react42.default.createElement(Logos.microsoft, {
7632
- className: "hawa-h-4 hawa-w-4"
7637
+ className: "hawa-icon"
7633
7638
  }), (_props_texts_continueWithMicrosoft = (_props_texts4 = props.texts) === null || _props_texts4 === void 0 ? void 0 : _props_texts4.continueWithMicrosoft) !== null && _props_texts_continueWithMicrosoft !== void 0 ? _props_texts_continueWithMicrosoft : "Continue With Microsoft"), props.viaEmail && /* @__PURE__ */ import_react42.default.createElement(Button, {
7634
7639
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7635
7640
  variant: "outline",
7636
7641
  onClick: props.handleEmail
7637
7642
  }, /* @__PURE__ */ import_react42.default.createElement(Logos.mail, {
7638
- className: "hawa-h-4 hawa-w-4"
7643
+ className: "hawa-icon"
7639
7644
  }), (_props_texts_continueWithEmail = (_props_texts5 = props.texts) === null || _props_texts5 === void 0 ? void 0 : _props_texts5.continueWithEmail) !== null && _props_texts_continueWithEmail !== void 0 ? _props_texts_continueWithEmail : "Continue With Email"), props.viaPhone && /* @__PURE__ */ import_react42.default.createElement(Button, {
7640
7645
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2",
7641
7646
  variant: "outline",
7642
7647
  onClick: props.handlePhone
7643
7648
  }, /* @__PURE__ */ import_react42.default.createElement(Logos.phone, {
7644
- className: "hawa-h-4 hawa-w-4"
7649
+ className: "hawa-icon"
7645
7650
  }), (_props_texts_continueWithPhone = (_props_texts6 = props.texts) === null || _props_texts6 === void 0 ? void 0 : _props_texts6.continueWithPhone) !== null && _props_texts_continueWithPhone !== void 0 ? _props_texts_continueWithPhone : "Continue With Phone"));
7646
7651
  };
7647
7652
  // components/icons/index.tsx
package/dist/index.mjs CHANGED
@@ -1333,7 +1333,7 @@ var CheckboxElement = React16.forwardRef(({ className, ...props }, ref) => /* @_
1333
1333
  {
1334
1334
  ref,
1335
1335
  className: cn(
1336
- "hawa-peer hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-rounded-sm hawa-border hawa-border-primary hawa-ring-offset-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50 data-[state=checked]:hawa-bg-primary data-[state=checked]:hawa-text-primary-foreground",
1336
+ "hawa-peer hawa-icon hawa-shrink-0 hawa-rounded-sm hawa-border hawa-border-primary hawa-ring-offset-background focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50 data-[state=checked]:hawa-bg-primary data-[state=checked]:hawa-text-primary-foreground",
1337
1337
  className
1338
1338
  ),
1339
1339
  ...props
@@ -1451,7 +1451,7 @@ var ToastClose = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE
1451
1451
  {
1452
1452
  "aria-label": "Close Icon",
1453
1453
  "aria-hidden": "true",
1454
- className: "hawa-h-4 hawa-w-4",
1454
+ className: "hawa-icon",
1455
1455
  fill: "currentColor",
1456
1456
  viewBox: "0 0 20 20"
1457
1457
  },
@@ -4529,7 +4529,7 @@ var Select = ({ labelKey = "label", ...props }) => {
4529
4529
  onInputChange: (newValue, action) => props.onInputChange(newValue, action)
4530
4530
  }
4531
4531
  ),
4532
- /* @__PURE__ */ React33.createElement(
4532
+ !props.hideHelperText && /* @__PURE__ */ React33.createElement(
4533
4533
  "p",
4534
4534
  {
4535
4535
  className: cn(
@@ -4560,10 +4560,11 @@ var PhoneInput = (props) => {
4560
4560
  console.log("handleChange prop was not provided in <PhoneInput/>");
4561
4561
  }
4562
4562
  };
4563
- return /* @__PURE__ */ React34.createElement("div", { className: "hawa-flex hawa-flex-col hawa-w-full hawa-gap-2" }, props.label && /* @__PURE__ */ React34.createElement(Label2, null, props.label), /* @__PURE__ */ React34.createElement("div", { dir: "ltr", className: "hawa-flex hawa-flex-row hawa-w-full" }, /* @__PURE__ */ React34.createElement(
4563
+ return /* @__PURE__ */ React34.createElement("div", { className: "hawa-flex hawa-flex-col hawa-w-full hawa-gap-2 hawa-h-fit" }, props.label && /* @__PURE__ */ React34.createElement(Label2, null, props.label), /* @__PURE__ */ React34.createElement("div", { dir: "ltr", className: "hawa-flex hawa-flex-row hawa-w-full" }, /* @__PURE__ */ React34.createElement(
4564
4564
  Select,
4565
4565
  {
4566
4566
  width: "fit",
4567
+ hideHelperText: true,
4567
4568
  phoneCode: true,
4568
4569
  hideIndicator: true,
4569
4570
  placeholder: "Code",
@@ -4575,7 +4576,7 @@ var PhoneInput = (props) => {
4575
4576
  value: countryCode?.label,
4576
4577
  onChange: setCountryCode
4577
4578
  }
4578
- ), /* @__PURE__ */ React34.createElement("div", { className: "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-w-full hawa-gap-0" }, /* @__PURE__ */ React34.createElement(
4579
+ ), /* @__PURE__ */ React34.createElement("div", { className: "hawa-flex hawa-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-w-full hawa-gap-0" }, /* @__PURE__ */ React34.createElement(
4579
4580
  "input",
4580
4581
  {
4581
4582
  ref: inputRef,
@@ -4803,7 +4804,7 @@ var SortButton = (props) => {
4803
4804
  strokeWidth: "2",
4804
4805
  strokeLinecap: "round",
4805
4806
  strokeLinejoin: "round",
4806
- className: props.condensed ? "hawa-h-3 hawa-w-3" : "hawa-h-4 hawa-w-4"
4807
+ className: props.condensed ? "hawa-h-3 hawa-w-3" : "hawa-icon"
4807
4808
  },
4808
4809
  /* @__PURE__ */ React37.createElement("path", { d: "m21 16-4 4-4-4" }),
4809
4810
  /* @__PURE__ */ React37.createElement("path", { d: "M17 20V4" }),
@@ -5384,7 +5385,7 @@ var AccordionTrigger = React42.forwardRef(({ className, children, ...props }, re
5384
5385
  strokeWidth: "2",
5385
5386
  strokeLinecap: "round",
5386
5387
  strokeLinejoin: "round",
5387
- className: "hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-transition-transform hawa-duration-200"
5388
+ className: "hawa-icon hawa-shrink-0 hawa-transition-transform hawa-duration-200"
5388
5389
  },
5389
5390
  /* @__PURE__ */ React42.createElement("path", { d: "m6 9 6 6 6-6" })
5390
5391
  )
@@ -5971,6 +5972,7 @@ var CommandInput = React51.forwardRef(({ className, ...props }, ref) => /* @__PU
5971
5972
  /* @__PURE__ */ React51.createElement(
5972
5973
  "svg",
5973
5974
  {
5975
+ "aria-label": "Search Icon",
5974
5976
  xmlns: "http://www.w3.org/2000/svg",
5975
5977
  width: "24",
5976
5978
  height: "24",
@@ -5980,7 +5982,7 @@ var CommandInput = React51.forwardRef(({ className, ...props }, ref) => /* @__PU
5980
5982
  strokeWidth: "2",
5981
5983
  strokeLinecap: "round",
5982
5984
  strokeLinejoin: "round",
5983
- className: "hawa-mr-2 hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-opacity-50"
5985
+ className: "hawa-mr-2 hawa-icon hawa-shrink-0 hawa-opacity-50"
5984
5986
  },
5985
5987
  /* @__PURE__ */ React51.createElement("circle", { cx: "11", cy: "11", r: "8" }),
5986
5988
  /* @__PURE__ */ React51.createElement("path", { d: "m21 21-4.3-4.3" })
@@ -6121,9 +6123,10 @@ var Combobox = ({
6121
6123
  {
6122
6124
  xmlns: "http://www.w3.org/2000/svg",
6123
6125
  className: cn(
6124
- "hawa-w-4 hawa-h-4 hawa-transition-all",
6126
+ "hawa-icon hawa-transition-all",
6125
6127
  !props.preview ? "hawa-opacity-100 hawa-visible" : "hawa-opacity-0 hawa-invisible"
6126
6128
  ),
6129
+ "aria-label": "Chevron down icon",
6127
6130
  viewBox: "0 0 24 24",
6128
6131
  fill: "none",
6129
6132
  stroke: "currentColor",
@@ -6165,6 +6168,7 @@ var Combobox = ({
6165
6168
  /* @__PURE__ */ React52.createElement(
6166
6169
  "svg",
6167
6170
  {
6171
+ "aria-label": "Check Icon",
6168
6172
  xmlns: "http://www.w3.org/2000/svg",
6169
6173
  width: "24",
6170
6174
  height: "24",
@@ -6175,7 +6179,7 @@ var Combobox = ({
6175
6179
  strokeLinecap: "round",
6176
6180
  strokeLinejoin: "round",
6177
6181
  className: cn(
6178
- "hawa-mr-2 hawa-h-4 hawa-w-4",
6182
+ "hawa-mr-2 hawa-icon",
6179
6183
  value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
6180
6184
  )
6181
6185
  },
@@ -6547,6 +6551,7 @@ var NavigationMenuTrigger = React57.forwardRef(({ className, children, ...props
6547
6551
  /* @__PURE__ */ React57.createElement(
6548
6552
  "svg",
6549
6553
  {
6554
+ "aria-label": "Chevron Icon",
6550
6555
  xmlns: "http://www.w3.org/2000/svg",
6551
6556
  width: "24",
6552
6557
  height: "24",
@@ -6557,7 +6562,7 @@ var NavigationMenuTrigger = React57.forwardRef(({ className, children, ...props
6557
6562
  "stroke-linecap": "round",
6558
6563
  "stroke-linejoin": "round",
6559
6564
  "aria-hidden": "true",
6560
- className: "hawa-relative hawa-top-[1px] hawa-h-4 hawa-w-4 hawa-transition hawa-duration-200 group-data-[state=open]:hawa-rotate-180"
6565
+ className: "hawa-relative hawa-top-[1px] hawa-icon hawa-transition hawa-duration-200 group-data-[state=open]:hawa-rotate-180"
6561
6566
  },
6562
6567
  /* @__PURE__ */ React57.createElement("path", { d: "m6 9 6 6 6-6" })
6563
6568
  )
@@ -6689,7 +6694,7 @@ var AccordionTrigger2 = React59.forwardRef(({ className, showArrow, children, ..
6689
6694
  viewBox: "0 0 16 16",
6690
6695
  height: "1em",
6691
6696
  width: "1em",
6692
- className: "hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
6697
+ className: "hawa-icon hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
6693
6698
  },
6694
6699
  /* @__PURE__ */ React59.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
6695
6700
  )
@@ -6760,7 +6765,7 @@ var SidebarItem = ({
6760
6765
  AccordionItem2,
6761
6766
  {
6762
6767
  value: item.value,
6763
- className: "hawa-overflow-x-clip",
6768
+ className: "hawa-overflow-x-clip ",
6764
6769
  dir: direction
6765
6770
  },
6766
6771
  /* @__PURE__ */ React59.createElement(
@@ -6779,8 +6784,7 @@ var SidebarItem = ({
6779
6784
  "div",
6780
6785
  {
6781
6786
  className: cn(
6782
- !isOpen && "hawa-py-1",
6783
- "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2"
6787
+ "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-h-fit"
6784
6788
  )
6785
6789
  },
6786
6790
  item.icon && item.icon,
@@ -7617,7 +7621,7 @@ var DocsLayout = ({
7617
7621
  isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
7618
7622
  )
7619
7623
  },
7620
- /* @__PURE__ */ React66.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React66.createElement(Logos.github, { className: "hawa-w-4 hawa-h-4" }))
7624
+ /* @__PURE__ */ React66.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React66.createElement(Logos.github, { className: "hawa-icon" }))
7621
7625
  )
7622
7626
  ), /* @__PURE__ */ React66.createElement(
7623
7627
  "div",
@@ -7683,7 +7687,7 @@ var AuthButtons = (props) => {
7683
7687
  variant: "outline",
7684
7688
  onClick: props.handleGoogle
7685
7689
  },
7686
- /* @__PURE__ */ React67.createElement(Logos.google, { className: "hawa-h-4 hawa-w-4" }),
7690
+ /* @__PURE__ */ React67.createElement(Logos.google, { className: "hawa-icon" }),
7687
7691
  props.texts?.continueWithGoogle ?? "Continue With Google"
7688
7692
  ), props.viaGithub && /* @__PURE__ */ React67.createElement(
7689
7693
  Button,
@@ -7692,7 +7696,7 @@ var AuthButtons = (props) => {
7692
7696
  variant: "outline",
7693
7697
  onClick: props.handleGithub
7694
7698
  },
7695
- /* @__PURE__ */ React67.createElement(Logos.github, { className: "hawa-h-4 hawa-w-4" }),
7699
+ /* @__PURE__ */ React67.createElement(Logos.github, { className: "hawa-icon" }),
7696
7700
  props.texts?.continueWithGithub ?? "Continue With Github"
7697
7701
  ), props.viaTwitter && /* @__PURE__ */ React67.createElement(
7698
7702
  Button,
@@ -7701,7 +7705,7 @@ var AuthButtons = (props) => {
7701
7705
  variant: "outline",
7702
7706
  onClick: props.handleTwitter
7703
7707
  },
7704
- /* @__PURE__ */ React67.createElement(Logos.twitter, { className: "hawa-h-4 hawa-w-4" }),
7708
+ /* @__PURE__ */ React67.createElement(Logos.twitter, { className: "hawa-icon" }),
7705
7709
  props.texts?.continueWithTwitter ?? "Continue With Twitter"
7706
7710
  ), props.viaApple && /* @__PURE__ */ React67.createElement(
7707
7711
  Button,
@@ -7710,7 +7714,7 @@ var AuthButtons = (props) => {
7710
7714
  variant: "outline",
7711
7715
  onClick: props.handleApple
7712
7716
  },
7713
- /* @__PURE__ */ React67.createElement(Logos.apple, { className: "hawa-h-4 hawa-w-4" }),
7717
+ /* @__PURE__ */ React67.createElement(Logos.apple, { className: "hawa-icon" }),
7714
7718
  props.texts?.continueWithApple ?? "Continue With Apple"
7715
7719
  ), props.viaMicrosoft && /* @__PURE__ */ React67.createElement(
7716
7720
  Button,
@@ -7719,7 +7723,7 @@ var AuthButtons = (props) => {
7719
7723
  variant: "outline",
7720
7724
  onClick: props.handleMicrosoft
7721
7725
  },
7722
- /* @__PURE__ */ React67.createElement(Logos.microsoft, { className: "hawa-h-4 hawa-w-4" }),
7726
+ /* @__PURE__ */ React67.createElement(Logos.microsoft, { className: "hawa-icon" }),
7723
7727
  props.texts?.continueWithMicrosoft ?? "Continue With Microsoft"
7724
7728
  ), props.viaEmail && /* @__PURE__ */ React67.createElement(
7725
7729
  Button,
@@ -7728,7 +7732,7 @@ var AuthButtons = (props) => {
7728
7732
  variant: "outline",
7729
7733
  onClick: props.handleEmail
7730
7734
  },
7731
- /* @__PURE__ */ React67.createElement(Logos.mail, { className: "hawa-h-4 hawa-w-4" }),
7735
+ /* @__PURE__ */ React67.createElement(Logos.mail, { className: "hawa-icon" }),
7732
7736
  props.texts?.continueWithEmail ?? "Continue With Email"
7733
7737
  ), props.viaPhone && /* @__PURE__ */ React67.createElement(
7734
7738
  Button,
@@ -7737,7 +7741,7 @@ var AuthButtons = (props) => {
7737
7741
  variant: "outline",
7738
7742
  onClick: props.handlePhone
7739
7743
  },
7740
- /* @__PURE__ */ React67.createElement(Logos.phone, { className: "hawa-h-4 hawa-w-4" }),
7744
+ /* @__PURE__ */ React67.createElement(Logos.phone, { className: "hawa-icon" }),
7741
7745
  props.texts?.continueWithPhone ?? "Continue With Phone"
7742
7746
  ));
7743
7747
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.14.7-next",
3
+ "version": "0.14.9-next",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {