@sikka/hawa 0.1.93 → 0.1.95

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.mjs CHANGED
@@ -196,7 +196,7 @@ var HawaTextField = ({
196
196
  ),
197
197
  disabled: preview
198
198
  }
199
- )), props.iconInside && /* @__PURE__ */ React7.createElement("div", { className: "absolute right-1 top-[41px] -translate-y-1/2" }, props.iconInside), props.helpertext ? /* @__PURE__ */ React7.createElement("p", { className: "mb-0 mt-1 text-xs text-red-600 dark:text-red-500" }, props.helpertext) : null));
199
+ )), props.iconInside && /* @__PURE__ */ React7.createElement("div", { className: "absolute right-1 top-[41px] -translate-y-1/2" }, props.iconInside), props.helpertext ? /* @__PURE__ */ React7.createElement("p", { className: "mb-0 mt-0 text-xs text-red-600 dark:text-red-500" }, props.helpertext) : null));
200
200
  };
201
201
 
202
202
  // src/elements/HawaColorPicker.tsx
@@ -377,7 +377,7 @@ var HawaRadio = ({
377
377
  htmlFor: opt.value.toString(),
378
378
  className: cn(
379
379
  "inline-flex h-full w-full items-center justify-between rounded-lg border border-gray-200 bg-white p-5 text-gray-500 peer-checked:border-blue-600 peer-checked:text-blue-600 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:peer-checked:text-primary",
380
- opt.disabled ? "opacity-50" : "cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-gray-300 hover:text-gray-600"
380
+ opt.disabled ? "opacity-50" : "cursor-pointer hover:bg-gray-100 hover:text-gray-600 dark:hover:bg-gray-700 dark:hover:text-gray-300"
381
381
  )
382
382
  },
383
383
  /* @__PURE__ */ React10.createElement("div", { className: "block h-full w-full" }, /* @__PURE__ */ React10.createElement("div", { className: "w-full text-lg font-semibold" }, opt.label), /* @__PURE__ */ React10.createElement("div", { className: "w-full" }, opt.sublabel))
@@ -476,13 +476,13 @@ var Option = ({
476
476
  "div",
477
477
  {
478
478
  ref: innerRef,
479
- className: "flex flex-row items-center justify-between rounded-inner p-1 px-2 hover:text-primary-foreground hover:bg-primary",
479
+ className: "flex cursor-pointer select-none flex-row items-center justify-between rounded-inner p-1 px-2 hover:bg-primary hover:text-primary-foreground",
480
480
  ...innerProps
481
481
  },
482
482
  children
483
483
  );
484
484
  var HawaSelect = (props) => {
485
- return /* @__PURE__ */ React11.createElement("div", { className: " w-full" }, props.label && /* @__PURE__ */ React11.createElement("div", { className: "mb-2 block text-sm font-medium text-gray-900 dark:text-gray-300" }, props.label), !props.isCreatable && /* @__PURE__ */ React11.createElement(
485
+ return /* @__PURE__ */ React11.createElement("div", { className: " flex w-full flex-col gap-2" }, props.label && /* @__PURE__ */ React11.createElement(Label, null, props.label), !props.isCreatable && /* @__PURE__ */ React11.createElement(
486
486
  Select,
487
487
  {
488
488
  classNames: {
@@ -985,7 +985,7 @@ var DropdownMenuSubTrigger = React19.forwardRef(({ className, inset, children, .
985
985
  {
986
986
  ref,
987
987
  className: cn(
988
- "flex cursor-default select-none items-center justify-between rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
988
+ "flex cursor-default select-none items-center justify-between rounded-sm px-2 py-3 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
989
989
  inset && "pl-8",
990
990
  className
991
991
  ),
@@ -1046,13 +1046,13 @@ var DropdownMenuItem = React19.forwardRef(({ className, inset, ...props }, ref)
1046
1046
  disabled: props.disabled,
1047
1047
  ref,
1048
1048
  className: cn(
1049
- "relative flex cursor-pointer select-none items-center justify-between rounded-sm px-2 py-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1049
+ "relative flex cursor-pointer select-none items-center justify-between rounded-sm text-sm outline-none transition-colors focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1050
1050
  inset && "pl-8",
1051
1051
  className
1052
1052
  ),
1053
1053
  ...props
1054
1054
  },
1055
- /* @__PURE__ */ React19.createElement("div", { className: "flex flex-row items-center gap-2" }, props.children),
1055
+ /* @__PURE__ */ React19.createElement("div", { className: "flex flex-row items-center gap-2 " }, props.children),
1056
1056
  props.end && props.end
1057
1057
  ));
1058
1058
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
@@ -1178,11 +1178,11 @@ var DropdownMenu = ({
1178
1178
  alignOffset
1179
1179
  },
1180
1180
  items.map((item, index) => {
1181
- return item.subitems ? /* @__PURE__ */ React19.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React19.createElement(DropdownMenuSubTrigger, { dir: direction }, item.icon && item.icon, item.label), /* @__PURE__ */ React19.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React19.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React19.createElement(
1181
+ return item.subitems ? /* @__PURE__ */ React19.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React19.createElement(DropdownMenuSubTrigger, { dir: direction }, item.icon && item.icon, item.label && item.label), /* @__PURE__ */ React19.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React19.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React19.createElement(
1182
1182
  DropdownMenuItem,
1183
1183
  {
1184
1184
  disabled: subitem.disabled,
1185
- className: "flex flex-row gap-2",
1185
+ className: "px-2 py-3",
1186
1186
  onSelect: () => {
1187
1187
  subitem.action();
1188
1188
  if (selectCallback) {
@@ -1192,12 +1192,11 @@ var DropdownMenu = ({
1192
1192
  key: subIndex
1193
1193
  },
1194
1194
  subitem.icon && subitem.icon,
1195
- subitem.label
1195
+ subitem.label && subitem.label
1196
1196
  ))))) : /* @__PURE__ */ React19.createElement(
1197
1197
  DropdownMenuItem,
1198
1198
  {
1199
1199
  disabled: item.disabled,
1200
- className: "flex flex-row gap-2",
1201
1200
  key: index,
1202
1201
  onSelect: (e) => {
1203
1202
  if (item.presist) {
@@ -1214,10 +1213,11 @@ var DropdownMenu = ({
1214
1213
  }
1215
1214
  }
1216
1215
  },
1217
- end: item.end
1216
+ end: item.end,
1217
+ className: !item.icon && !item.label ? "px-0 py-0 focus:bg-transparent " : "px-2 py-3 focus:bg-accent "
1218
1218
  },
1219
1219
  item.icon && item.icon,
1220
- item.label
1220
+ item.label && item.label
1221
1221
  );
1222
1222
  })
1223
1223
  )));
@@ -1292,57 +1292,7 @@ var HawaTable = ({
1292
1292
  useEffect6(() => {
1293
1293
  changePage();
1294
1294
  }, [slice, page]);
1295
- return /* @__PURE__ */ React20.createElement("div", { className: "relative flex flex-col gap-2 " }, /* @__PURE__ */ React20.createElement("div", { className: `overflow-x-auto rounded bg-${headerColor}` }, props.headerTools && /* @__PURE__ */ React20.createElement("div", { className: "flex flex-row items-center justify-between gap-2 border bg-background px-4 py-2" }, /* @__PURE__ */ React20.createElement(
1296
- HawaTextField,
1297
- {
1298
- icon: /* @__PURE__ */ React20.createElement(
1299
- "svg",
1300
- {
1301
- "aria-label": "Search Icon",
1302
- stroke: "currentColor",
1303
- fill: "gray",
1304
- strokeWidth: "0",
1305
- viewBox: "0 0 512 512",
1306
- height: "1em",
1307
- width: "1em"
1308
- },
1309
- /* @__PURE__ */ React20.createElement("path", { d: "M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z" })
1310
- ),
1311
- placeholder: "Search",
1312
- width: "full",
1313
- margin: "none"
1314
- }
1315
- ), /* @__PURE__ */ React20.createElement("div", { className: "flex flex-row items-center justify-between gap-2" }, /* @__PURE__ */ React20.createElement(Button, { className: "flex flex-row gap-2" }, /* @__PURE__ */ React20.createElement(
1316
- "svg",
1317
- {
1318
- "aria-label": "Filter Icon",
1319
- stroke: "currentColor",
1320
- fill: "currentColor",
1321
- strokeWidth: "0",
1322
- viewBox: "0 0 16 16",
1323
- height: "1em",
1324
- width: "1em"
1325
- },
1326
- /* @__PURE__ */ React20.createElement("path", { d: "M6 10.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z" })
1327
- ), props.texts?.filter ?? "Filter", /* @__PURE__ */ React20.createElement(
1328
- "svg",
1329
- {
1330
- "aria-label": "Chevron Right Icon",
1331
- stroke: "currentColor",
1332
- fill: "currentColor",
1333
- strokeWidth: "0",
1334
- viewBox: "0 0 16 16",
1335
- height: "1em",
1336
- width: "1em"
1337
- },
1338
- /* @__PURE__ */ React20.createElement(
1339
- "path",
1340
- {
1341
- fillRule: "evenodd",
1342
- 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"
1343
- }
1344
- )
1345
- )))), /* @__PURE__ */ React20.createElement(
1295
+ return /* @__PURE__ */ React20.createElement("div", { className: "relative flex flex-col gap-2 " }, /* @__PURE__ */ React20.createElement("div", { className: `overflow-x-auto rounded bg-${headerColor}` }, props.headerTools && /* @__PURE__ */ React20.createElement("div", { className: "flex flex-row items-center justify-between gap-2 border bg-background px-2 py-2" }, props.headerTools), /* @__PURE__ */ React20.createElement(
1346
1296
  "table",
1347
1297
  {
1348
1298
  className: clsx7(
@@ -5694,7 +5644,6 @@ var FloatingCommentSlate = () => {
5694
5644
  // src/elements/FloatingCommentExec.tsx
5695
5645
  import React47 from "react";
5696
5646
  import ReactDOMServer from "react-dom/server";
5697
- import { AiOutlineClose } from "react-icons/ai";
5698
5647
  var base64 = "iVBORw0KGgoAAAANSUhEUgAAANUAAABhCAYAAABBG+TgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACEgSURBVHhe7Z0HWFRXFsfPG1SaFKWDgBUsWLH3lthN1cQYY5ItiellN9mYxGQ3m2rcbDYxuiamJ2qqaa4NK/aOFaWIIgqKIE1Rmbf3f+eNvJl5b2DgDWK8v++bj3nDlDdw/++ce+4550pl5ZdlEggEhmFSfgoEAoMQohIIDEaISiAwGCEqgcBghKgEAoMRohIIDEaISiAwGCEqgcBg6p2oZJmowkx0qULmN9wXCK4l6lVGRckFmbIKJcotluliheWxhh5EjT0tP70bSOTbiP1sKJOfp0SeDWSSJMnyRIGgnlBvRFVWTrQqXaYf98qUUyRzi2XFxHTjw8QU6CVRkC9RMLuF+xGF+UsU5idRqK9MIY0laiCcWUE9oF6ICidw8BTRrDVmOsEEVV18G0lMTDJFMnHFNpGoTQhR21CJmnizLyYMmOAqUS9EdZnNm9akyVxUNT2ZRsw9DPaVKDKAqGMEUb8WEkUFSCS0Jahr6o2oVqeZmahqfyoQkQ+bgwX7SNQ1imhcB4u4BIK6ot7MqQ7lEr25ykwni407nYZsjuXnRTSqrUQ3JZjIn90XCNxNvRHVpQqipCMyfbFdpqILMncDebCCGRl+n1mzmp4o7FQMm3Pd00OiHtESF5uYcwncRb0RFTCzMzleyKxWHkLqTFznJf7zdClRPrsVlMlUflmiC+yx8kvsJ/xGF2ZN3g2JhsdJNLa9iaIDLVFFgcBo6pWoqqLsoky5xRIdLZAp7QxRZr5MeSUyFZwnKr2oPKkKoKOEcKIJXUxszsWsloflcYHAKK4pUdkDIcGqpZ5mt1yZMvIlOsOsmXqNS48QX4lu7UQ0rLVE/t7CZAmM45oWlRW4jaeZxTqYS7TnpEzbjsFdtMzLnIGMjJFtTXRbJxOFNlYeFAhqye8iBwFz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W++WcjfA1Wv2CjbyoQJd/CgBOqgFjI3MTomhkcHqyqNEBhDnYgKwPWCNfl5n0yr0ohKyl37WAx2LPqqxwWmJrBSWj0wqoOvp0STuhANaIkaKTeqSXBdUWeiAvigEmZF1jK3buFOS/rR1QBWsFc00dQeHhTh73oCr0DgjDoVlZUKZrZOFBF9xOZP2HWxroCY0HDmji6WuVNVCbsCQU24KqKygnkPSte/2W3m6UuYazmL0NUEuI2ohQr3s6QcDWaunr9OkxqBwAiuqqisnL/ILFY20do0mYsLTSwRgKipwBB88G2EIkXLZnPog4HFaGGZBHVBvRCVFZSOQFQpJ82Ulm+pvSo6b6kqvnBZ4gvDCEpAbLA1sEDYdAA/vRvKPPk2wEviJfooKmwXDndPWCVB3VKvRKUG+YGnimTKLZGooMySfAvrdbFC4ntNkSRzy4NSEH8mpEBvS892dDpCvp47Q+MCgTPqragEgmsVt2dUCATXG0JUAoHBCFEJBAYjRCUQGIwQlUBgMEJUAoHBCFEJBAYjRCUQGIwQlUBgMEJUAoHBCFEJBIZC9H8N2KynRYkKgQAAAABJRU5ErkJggg==";
5699
5648
  var Property3 = (props) => {
5700
5649
  return /* @__PURE__ */ React47.createElement(
@@ -5707,7 +5656,24 @@ var Property3 = (props) => {
5707
5656
  );
5708
5657
  };
5709
5658
  var Image = (props) => {
5710
- return /* @__PURE__ */ React47.createElement("div", { className: "group relative w-fit" }, /* @__PURE__ */ React47.createElement("img", { src: `data:image/pngg;charset=utf-8;base64,${base64}` }), /* @__PURE__ */ React47.createElement("div", { className: "absolute right-0 top-0 text-red-900 opacity-0 transition-all hover:opacity-50 group-hover:opacity-100" }, /* @__PURE__ */ React47.createElement(AiOutlineClose, null)));
5659
+ return /* @__PURE__ */ React47.createElement("div", { className: "group relative w-fit" }, /* @__PURE__ */ React47.createElement("img", { src: `data:image/pngg;charset=utf-8;base64,${base64}` }), /* @__PURE__ */ React47.createElement("div", { className: "absolute right-0 top-0 text-red-900 opacity-0 transition-all hover:opacity-50 group-hover:opacity-100" }, /* @__PURE__ */ React47.createElement(
5660
+ "svg",
5661
+ {
5662
+ "aria-label": "Close Icon",
5663
+ "aria-hidden": "true",
5664
+ className: "h-4 w-4",
5665
+ fill: "currentColor",
5666
+ viewBox: "0 0 20 20"
5667
+ },
5668
+ /* @__PURE__ */ React47.createElement(
5669
+ "path",
5670
+ {
5671
+ fillRule: "evenodd",
5672
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
5673
+ clipRule: "evenodd"
5674
+ }
5675
+ )
5676
+ )));
5711
5677
  };
5712
5678
  var styles2 = {
5713
5679
  bold: "B",
@@ -5761,17 +5727,17 @@ var FloatingCommentExec = (props) => {
5761
5727
  };
5762
5728
 
5763
5729
  // src/elements/BackToTop.tsx
5764
- import React48, { useState as useState26, useEffect as useEffect16, useRef as useRef10 } from "react";
5730
+ import React48, { useState as useState25, useEffect as useEffect15, useRef as useRef9 } from "react";
5765
5731
  import { clsx as clsx19 } from "clsx";
5766
5732
  var BackToTop = ({ ...props }) => {
5767
- const [visible, setVisible] = useState26(false);
5768
- const [rect, _setRect] = useState26(null);
5769
- const _rect = useRef10(rect);
5733
+ const [visible, setVisible] = useState25(false);
5734
+ const [rect, _setRect] = useState25(null);
5735
+ const _rect = useRef9(rect);
5770
5736
  const setRect = (data) => {
5771
5737
  _rect.current = data;
5772
5738
  _setRect(data);
5773
5739
  };
5774
- const self = useRef10(null);
5740
+ const self = useRef9(null);
5775
5741
  const getCoords = () => {
5776
5742
  let anchor = props.anchor.current;
5777
5743
  return [anchor.scrollTop, anchor.scrollLeft];
@@ -5784,7 +5750,7 @@ var BackToTop = ({ ...props }) => {
5784
5750
  const backToTop = () => {
5785
5751
  props.anchor.current.scrollTo({ top: 0, behavior: "smooth" });
5786
5752
  };
5787
- useEffect16(() => {
5753
+ useEffect15(() => {
5788
5754
  if (!props.anchor.current)
5789
5755
  return;
5790
5756
  props.anchor.current.addEventListener("scroll", onScroll);
@@ -5861,7 +5827,7 @@ var Timeline = (props) => {
5861
5827
  };
5862
5828
 
5863
5829
  // src/elements/HawaPinInput.tsx
5864
- import React51, { useEffect as useEffect17, useState as useState27 } from "react";
5830
+ import React51, { useEffect as useEffect16, useState as useState26 } from "react";
5865
5831
  import clsx20 from "clsx";
5866
5832
  var HawaPinInput = ({
5867
5833
  label,
@@ -5871,7 +5837,7 @@ var HawaPinInput = ({
5871
5837
  getPins,
5872
5838
  ...props
5873
5839
  }) => {
5874
- const [pin, setPin] = useState27(Array.from(Array(digits)));
5840
+ const [pin, setPin] = useState26(Array.from(Array(digits)));
5875
5841
  const handleKeyDown = (e, index) => {
5876
5842
  let backTo = 0;
5877
5843
  if (e.key === "Backspace") {
@@ -5880,7 +5846,7 @@ var HawaPinInput = ({
5880
5846
  previousInput?.focus();
5881
5847
  }
5882
5848
  };
5883
- useEffect17(() => {
5849
+ useEffect16(() => {
5884
5850
  let unfilled = pin.includes(void 0);
5885
5851
  if (!unfilled) {
5886
5852
  getPins(pin);
@@ -5927,7 +5893,7 @@ var HawaPinInput = ({
5927
5893
  };
5928
5894
 
5929
5895
  // src/elements/HawaItemCard.tsx
5930
- import React52, { useEffect as useEffect18, useState as useState28 } from "react";
5896
+ import React52, { useEffect as useEffect17, useState as useState27 } from "react";
5931
5897
  import clsx21 from "clsx";
5932
5898
  var HawaItemCard = ({
5933
5899
  actions,
@@ -5957,11 +5923,11 @@ var HawaItemCard = ({
5957
5923
  )
5958
5924
  };
5959
5925
  let headerActionsButtonStyle = "inline-block rounded p-1 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700";
5960
- const [openActionHeader, setOpenActionHeader] = useState28(false);
5926
+ const [openActionHeader, setOpenActionHeader] = useState27(false);
5961
5927
  function handleOpenActionHeader() {
5962
5928
  setOpenActionHeader(!openActionHeader);
5963
5929
  }
5964
- useEffect18(() => {
5930
+ useEffect17(() => {
5965
5931
  window.onclick = () => {
5966
5932
  if (openActionHeader) {
5967
5933
  setOpenActionHeader(false);
@@ -6093,12 +6059,12 @@ var HawaPricingCard = ({
6093
6059
 
6094
6060
  // src/elements/HawaAdCard.tsx
6095
6061
  import clsx23 from "clsx";
6096
- import React54, { useState as useState29, useEffect as useEffect19, useRef as useRef11 } from "react";
6062
+ import React54, { useState as useState28, useEffect as useEffect18, useRef as useRef10 } from "react";
6097
6063
  var HawaAdCard = ({ orientation, ...props }) => {
6098
- const adRef = useRef11(null);
6099
- const [closed, setClosed] = useState29(false);
6064
+ const adRef = useRef10(null);
6065
+ const [closed, setClosed] = useState28(false);
6100
6066
  let duration = 0;
6101
- useEffect19(() => {
6067
+ useEffect18(() => {
6102
6068
  if (duration) {
6103
6069
  const timeoutHide = setTimeout(() => {
6104
6070
  setClosed(true);
@@ -6196,7 +6162,7 @@ var HawaLandingCard = ({
6196
6162
  };
6197
6163
 
6198
6164
  // src/elements/HawaButton.tsx
6199
- import React56, { useState as useState30 } from "react";
6165
+ import React56, { useState as useState29 } from "react";
6200
6166
  import clsx25 from "clsx";
6201
6167
  var disabledSyles = "cursor-default pointer-events-none";
6202
6168
  var disabledVariantSyles = {
@@ -6264,8 +6230,8 @@ var HawaButton = ({
6264
6230
  feedback,
6265
6231
  ...props
6266
6232
  }) => {
6267
- const [isClicked, setIsClicked] = useState30(false);
6268
- const [buttonText, setButtonText] = useState30(children);
6233
+ const [isClicked, setIsClicked] = useState29(false);
6234
+ const [buttonText, setButtonText] = useState29(children);
6269
6235
  const handleClick = (event) => {
6270
6236
  if (props.onClick) {
6271
6237
  props.onClick(event);
@@ -6439,9 +6405,9 @@ var HawaStoreButtons = (props) => {
6439
6405
  };
6440
6406
 
6441
6407
  // src/elements/ActionCard.tsx
6442
- import React58, { useState as useState31 } from "react";
6408
+ import React58, { useState as useState30 } from "react";
6443
6409
  var ActionCard = (props) => {
6444
- const [hovered, setHovered] = useState31(false);
6410
+ const [hovered, setHovered] = useState30(false);
6445
6411
  return /* @__PURE__ */ React58.createElement("div", { className: "flex h-full w-full flex-col gap-1 " }, /* @__PURE__ */ React58.createElement(
6446
6412
  "div",
6447
6413
  {
@@ -6484,7 +6450,7 @@ var StickyFeatures = (props) => {
6484
6450
  };
6485
6451
 
6486
6452
  // src/elements/UserReferralSource.tsx
6487
- import React61, { useEffect as useEffect20, useRef as useRef12, useState as useState32 } from "react";
6453
+ import React61, { useEffect as useEffect19, useRef as useRef11, useState as useState31 } from "react";
6488
6454
  import clsx26 from "clsx";
6489
6455
 
6490
6456
  // src/elements/Textarea.tsx
@@ -6511,16 +6477,16 @@ var UserReferralSource = ({
6511
6477
  position = "bottom-right",
6512
6478
  ...props
6513
6479
  }) => {
6514
- const [closed, setClosed] = useState32(false);
6515
- const [answered, setAnswered] = useState32(false);
6516
- const [clickedOption, setClickedOption] = useState32(null);
6517
- const [closingTimer, setClosingTimer] = useState32(5);
6518
- const popUpRef = useRef12(null);
6480
+ const [closed, setClosed] = useState31(false);
6481
+ const [answered, setAnswered] = useState31(false);
6482
+ const [clickedOption, setClickedOption] = useState31(null);
6483
+ const [closingTimer, setClosingTimer] = useState31(5);
6484
+ const popUpRef = useRef11(null);
6519
6485
  const boxPosition = {
6520
6486
  "bottom-right": "right-4",
6521
6487
  "bottom-left": "left-4"
6522
6488
  };
6523
- useEffect20(() => {
6489
+ useEffect19(() => {
6524
6490
  const timeoutHide = setTimeout(() => {
6525
6491
  if (closingTimer >= 0) {
6526
6492
  setClosingTimer(closingTimer - 1);
@@ -6595,12 +6561,12 @@ var UserReferralSource = ({
6595
6561
  import React62 from "react";
6596
6562
 
6597
6563
  // src/hooks/useCarousel.ts
6598
- import { useState as useState33, useRef as useRef13 } from "react";
6564
+ import { useState as useState32, useRef as useRef12 } from "react";
6599
6565
  var useCarousel = (imageWidth) => {
6600
- const [isDragging, setIsDragging] = useState33(false);
6601
- const [startDragX, setStartDragX] = useState33(0);
6602
- const [scrollLeft, setScrollLeft] = useState33(0);
6603
- const containerRef = useRef13(null);
6566
+ const [isDragging, setIsDragging] = useState32(false);
6567
+ const [startDragX, setStartDragX] = useState32(0);
6568
+ const [scrollLeft, setScrollLeft] = useState32(0);
6569
+ const containerRef = useRef12(null);
6604
6570
  const findClosestSnapPoint = (scrollLeft2) => {
6605
6571
  return Math.round(scrollLeft2 / imageWidth) * imageWidth;
6606
6572
  };
@@ -6700,14 +6666,14 @@ var Input = React63.forwardRef(
6700
6666
  Input.displayName = "Input";
6701
6667
 
6702
6668
  // src/elements/InterfaceSettings.tsx
6703
- import React64, { useState as useState35 } from "react";
6669
+ import React64, { useState as useState34 } from "react";
6704
6670
  var InterfaceSettings = ({
6705
6671
  orientation = "horizontal",
6706
6672
  width = "default",
6707
6673
  ...props
6708
6674
  }) => {
6709
- const [color, setColor] = useState35(props.currentColorMode);
6710
- const [language, setLanguage] = useState35(props.currentLanguage);
6675
+ const [color, setColor] = useState34(props.currentColorMode);
6676
+ const [language, setLanguage] = useState34(props.currentLanguage);
6711
6677
  let orientationStyle = {
6712
6678
  horizontal: "flex flex-row justify-between",
6713
6679
  vertical: "flex flex-col items-center gap-2"
@@ -7286,13 +7252,13 @@ var HawaBottomAppBar = (props) => {
7286
7252
  };
7287
7253
 
7288
7254
  // src/layout/HawaSiteLayout.tsx
7289
- import React76, { useEffect as useEffect23, useRef as useRef15, useState as useState39 } from "react";
7255
+ import React76, { useEffect as useEffect22, useRef as useRef14, useState as useState38 } from "react";
7290
7256
  import clsx27 from "clsx";
7291
7257
 
7292
7258
  // src/hooks/useDiscloser.ts
7293
- import { useState as useState37 } from "react";
7259
+ import { useState as useState36 } from "react";
7294
7260
  var useDiscloser = (value = false) => {
7295
- const [open, setOpen] = useState37(value);
7261
+ const [open, setOpen] = useState36(value);
7296
7262
  const onOpen = () => setOpen(true);
7297
7263
  const onClose = () => setOpen(false);
7298
7264
  return {
@@ -7304,13 +7270,13 @@ var useDiscloser = (value = false) => {
7304
7270
  var useDiscloser_default = useDiscloser;
7305
7271
 
7306
7272
  // src/hooks/useBreakpoint.ts
7307
- import { useState as useState38, useEffect as useEffect22 } from "react";
7273
+ import { useState as useState37, useEffect as useEffect21 } from "react";
7308
7274
  var useBreakpoint = () => {
7309
- const [breakpoint, setBreakpoint] = useState38(window?.innerWidth);
7275
+ const [breakpoint, setBreakpoint] = useState37(window?.innerWidth);
7310
7276
  const resize = () => {
7311
7277
  setBreakpoint(window?.innerWidth);
7312
7278
  };
7313
- useEffect22(() => {
7279
+ useEffect21(() => {
7314
7280
  if (typeof window !== "undefined") {
7315
7281
  window?.addEventListener("resize", resize);
7316
7282
  return () => {
@@ -7328,19 +7294,19 @@ var HawaSiteLayout = ({
7328
7294
  navigationSize = "md",
7329
7295
  ...props
7330
7296
  }) => {
7331
- const [openSideMenu, setOpenSideMenu] = useState39(false);
7332
- const [openSubItem, setOpenSubItem] = useState39(false);
7297
+ const [openSideMenu, setOpenSideMenu] = useState38(false);
7298
+ const [openSubItem, setOpenSubItem] = useState38(false);
7333
7299
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
7334
- const ref = useRef15(null);
7335
- const drawerItemRef = useRef15(null);
7300
+ const ref = useRef14(null);
7301
+ const drawerItemRef = useRef14(null);
7336
7302
  let size;
7337
7303
  if (typeof window !== "undefined") {
7338
7304
  size = useBreakpoint_default();
7339
7305
  } else {
7340
7306
  size = 1200;
7341
7307
  }
7342
- const [keepOpen, setKeepOpen] = useState39(false);
7343
- useEffect23(() => {
7308
+ const [keepOpen, setKeepOpen] = useState38(false);
7309
+ useEffect22(() => {
7344
7310
  const handleClickOutside = (event) => {
7345
7311
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
7346
7312
  setOpenSideMenu(false);
@@ -7441,7 +7407,7 @@ var HawaSiteLayout = ({
7441
7407
  };
7442
7408
 
7443
7409
  // src/layout/AppLayout.tsx
7444
- import React78, { useEffect as useEffect24, useRef as useRef16, useState as useState40 } from "react";
7410
+ import React78, { useEffect as useEffect23, useRef as useRef15, useState as useState39 } from "react";
7445
7411
  import clsx28 from "clsx";
7446
7412
 
7447
7413
  // src/layout/Sidebar.tsx
@@ -7654,10 +7620,10 @@ var AppLayout = ({
7654
7620
  lg: closeDrawerWidth
7655
7621
  }
7656
7622
  };
7657
- const ref = useRef16(null);
7623
+ const ref = useRef15(null);
7658
7624
  const isRTL = direction === "rtl";
7659
- const [openedSidebarItem, setOpenedSidebarItem] = useState40("");
7660
- const [selectedItem, setSelectedItem] = useState40(
7625
+ const [openedSidebarItem, setOpenedSidebarItem] = useState39("");
7626
+ const [selectedItem, setSelectedItem] = useState39(
7661
7627
  currentPage ? currentPage : []
7662
7628
  );
7663
7629
  let size;
@@ -7666,10 +7632,10 @@ var AppLayout = ({
7666
7632
  } else {
7667
7633
  size = 1200;
7668
7634
  }
7669
- const [keepOpen, setKeepOpen] = useState40(size > 600 ? true : false);
7670
- const [openSideMenu, setOpenSideMenu] = useState40(size > 600 ? true : false);
7635
+ const [keepOpen, setKeepOpen] = useState39(size > 600 ? true : false);
7636
+ const [openSideMenu, setOpenSideMenu] = useState39(size > 600 ? true : false);
7671
7637
  let drawerSizeCondition = size > 600 ? drawerSizeStyle[keepOpen ? "opened" : "closed"][drawerSize] : 0;
7672
- useEffect24(() => {
7638
+ useEffect23(() => {
7673
7639
  const handleClickOutside = (event) => {
7674
7640
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
7675
7641
  setOpenSideMenu(false);
@@ -7959,7 +7925,7 @@ var AppLayout = ({
7959
7925
  };
7960
7926
 
7961
7927
  // src/layout/HawaAppLayout.tsx
7962
- import React79, { useEffect as useEffect25, useRef as useRef17, useState as useState41 } from "react";
7928
+ import React79, { useEffect as useEffect24, useRef as useRef16, useState as useState40 } from "react";
7963
7929
  import clsx29 from "clsx";
7964
7930
  import { FaChevronRight } from "react-icons/fa";
7965
7931
  var HawaAppLayout = ({
@@ -7968,11 +7934,11 @@ var HawaAppLayout = ({
7968
7934
  onSettingsClick,
7969
7935
  ...props
7970
7936
  }) => {
7971
- const [openSideMenu, setOpenSideMenu] = useState41(false);
7972
- const [openSubItem, setOpenSubitem] = useState41("");
7937
+ const [openSideMenu, setOpenSideMenu] = useState40(false);
7938
+ const [openSubItem, setOpenSubitem] = useState40("");
7973
7939
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
7974
- const [keepOpen, setKeepOpen] = useState41(false);
7975
- const ref = useRef17(null);
7940
+ const [keepOpen, setKeepOpen] = useState40(false);
7941
+ const ref = useRef16(null);
7976
7942
  const isRTL = direction === "rtl";
7977
7943
  let size;
7978
7944
  if (typeof window !== "undefined") {
@@ -7980,7 +7946,7 @@ var HawaAppLayout = ({
7980
7946
  } else {
7981
7947
  size = 1200;
7982
7948
  }
7983
- useEffect25(() => {
7949
+ useEffect24(() => {
7984
7950
  const handleClickOutside = (event) => {
7985
7951
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
7986
7952
  setOpenSideMenu(false);
@@ -8353,7 +8319,7 @@ var HawaAppLayout = ({
8353
8319
  };
8354
8320
 
8355
8321
  // src/layout/HawaAppLayoutSimplified.tsx
8356
- import React80, { useEffect as useEffect26, useRef as useRef18, useState as useState42 } from "react";
8322
+ import React80, { useEffect as useEffect25, useRef as useRef17, useState as useState41 } from "react";
8357
8323
  import clsx30 from "clsx";
8358
8324
  var HawaAppLayoutSimplified = ({
8359
8325
  direction = "rtl",
@@ -8362,11 +8328,11 @@ var HawaAppLayoutSimplified = ({
8362
8328
  DrawerFooterActions,
8363
8329
  ...props
8364
8330
  }) => {
8365
- const [openSideMenu, setOpenSideMenu] = useState42(false);
8366
- const [openSubItem, setOpenSubitem] = useState42("");
8331
+ const [openSideMenu, setOpenSideMenu] = useState41(false);
8332
+ const [openSubItem, setOpenSubitem] = useState41("");
8367
8333
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
8368
- const [keepOpen, setKeepOpen] = useState42(false);
8369
- const ref = useRef18(null);
8334
+ const [keepOpen, setKeepOpen] = useState41(false);
8335
+ const ref = useRef17(null);
8370
8336
  const isRTL = direction === "rtl";
8371
8337
  let size;
8372
8338
  if (typeof window !== "undefined") {
@@ -8374,7 +8340,7 @@ var HawaAppLayoutSimplified = ({
8374
8340
  } else {
8375
8341
  size = 1200;
8376
8342
  }
8377
- useEffect26(() => {
8343
+ useEffect25(() => {
8378
8344
  const handleClickOutside = (event) => {
8379
8345
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
8380
8346
  setOpenSideMenu(false);
@@ -8864,14 +8830,14 @@ var Footer = ({
8864
8830
  };
8865
8831
 
8866
8832
  // src/layout/Banner.tsx
8867
- import React84, { useRef as useRef19, useState as useState43 } from "react";
8833
+ import React84, { useRef as useRef18, useState as useState42 } from "react";
8868
8834
  import clsx32 from "clsx";
8869
8835
  var HawaBanner = ({
8870
8836
  design = "floating",
8871
8837
  ...props
8872
8838
  }) => {
8873
- const bannerRef = useRef19(null);
8874
- const [closed, setClosed] = useState43(false);
8839
+ const bannerRef = useRef18(null);
8840
+ const [closed, setClosed] = useState42(false);
8875
8841
  let bannerStyle = {
8876
8842
  floating: "left-1/2 z-50 w-[calc(100%-2rem)] -translate-x-1/2 lg:max-w-7xl p-4 rounded",
8877
8843
  default: "w-[calc(100%)] left-0 z-50 right-0 rounded-none p-2"
@@ -9153,7 +9119,13 @@ var Icons = {
9153
9119
  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"
9154
9120
  }
9155
9121
  )),
9156
- microsoft: (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z" })),
9122
+ microsoft: (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React.createElement(
9123
+ "path",
9124
+ {
9125
+ fill: "currentColor",
9126
+ d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
9127
+ }
9128
+ )),
9157
9129
  gitHub: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 438.549 438.549", ...props }, /* @__PURE__ */ React.createElement(
9158
9130
  "path",
9159
9131
  {
@@ -9314,7 +9286,7 @@ var AppLanding = (props) => {
9314
9286
  },
9315
9287
  /* @__PURE__ */ React87.createElement(Icons.phone, { className: "h-4 w-4" }),
9316
9288
  props.texts?.continueWithPhone ?? "Continue With Phone"
9317
- ), !props.withoutSignUp && /* @__PURE__ */ React87.createElement("div", { className: "p-3 text-center text-sm font-normal dark:text-gray-300" }, props.texts.newUserText, " ", /* @__PURE__ */ React87.createElement(
9289
+ ), !props.withoutSignUp && /* @__PURE__ */ React87.createElement("div", { className: "p-3 text-center text-sm font-normal dark:text-gray-300" }, props.texts.newUserText, /* @__PURE__ */ React87.createElement(
9318
9290
  "span",
9319
9291
  {
9320
9292
  onClick: props.handleRouteToSignUp,
@@ -9385,7 +9357,7 @@ var AppLanding = (props) => {
9385
9357
  };
9386
9358
 
9387
9359
  // src/blocks/AuthForms/SignInPhone.tsx
9388
- import React88, { useState as useState44 } from "react";
9360
+ import React88, { useState as useState43 } from "react";
9389
9361
  import { Controller as Controller2, useForm as useForm2 } from "react-hook-form";
9390
9362
  var SignInPhone = (props) => {
9391
9363
  const methods = useForm2();
@@ -9394,7 +9366,7 @@ var SignInPhone = (props) => {
9394
9366
  handleSubmit,
9395
9367
  control
9396
9368
  } = methods;
9397
- const [userPhone, setUserPhone] = useState44("");
9369
+ const [userPhone, setUserPhone] = useState43("");
9398
9370
  return /* @__PURE__ */ React88.createElement(Card, null, /* @__PURE__ */ React88.createElement(CardContent, { headless: true }, /* @__PURE__ */ React88.createElement(
9399
9371
  "form",
9400
9372
  {
@@ -9865,10 +9837,10 @@ var SignUpForm = (props) => {
9865
9837
  };
9866
9838
 
9867
9839
  // src/blocks/AuthForms/NewPasswordForm.tsx
9868
- import React91, { useState as useState45 } from "react";
9840
+ import React91, { useState as useState44 } from "react";
9869
9841
  import { Controller as Controller5, FormProvider as FormProvider3, useForm as useForm5 } from "react-hook-form";
9870
9842
  var NewPasswordForm = (props) => {
9871
- const [matchError, setMatchError] = useState45(false);
9843
+ const [matchError, setMatchError] = useState44(false);
9872
9844
  const methods = useForm5();
9873
9845
  const {
9874
9846
  formState: { errors },
@@ -9976,9 +9948,9 @@ var ResetPasswordForm = (props) => {
9976
9948
  };
9977
9949
 
9978
9950
  // src/blocks/AuthForms/CodeConfirmation.tsx
9979
- import React93, { useState as useState46 } from "react";
9951
+ import React93, { useState as useState45 } from "react";
9980
9952
  var CodeConfirmation = (props) => {
9981
- const [pins, setPins] = useState46(null);
9953
+ const [pins, setPins] = useState45(null);
9982
9954
  return /* @__PURE__ */ React93.createElement(Card, null, /* @__PURE__ */ React93.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React93.createElement(
9983
9955
  HawaAlert,
9984
9956
  {
@@ -10024,9 +9996,9 @@ var CheckEmail = ({ texts, handleResend }) => {
10024
9996
  };
10025
9997
 
10026
9998
  // src/blocks/Payment/SelectPayment.tsx
10027
- import React95, { useState as useState48 } from "react";
9999
+ import React95, { useState as useState47 } from "react";
10028
10000
  var SelectPayment = (props) => {
10029
- const [selectedMethod, setSelectedMethod] = useState48("");
10001
+ const [selectedMethod, setSelectedMethod] = useState47("");
10030
10002
  return /* @__PURE__ */ React95.createElement(Card, null, /* @__PURE__ */ React95.createElement(CardHeader, null, /* @__PURE__ */ React95.createElement(CardTitle, null, "Choose Payment Method"), /* @__PURE__ */ React95.createElement(CardDescription, null, "And you'll be directed to the next step to complete the payment")), /* @__PURE__ */ React95.createElement(CardContent, { className: "grid grid-cols-2 gap-4" }, /* @__PURE__ */ React95.createElement(
10031
10003
  Button,
10032
10004
  {
@@ -10192,11 +10164,11 @@ var SelectPayment = (props) => {
10192
10164
  };
10193
10165
 
10194
10166
  // src/blocks/Payment/CreditCardForm.tsx
10195
- import React96, { useEffect as useEffect28, useState as useState49 } from "react";
10167
+ import React96, { useEffect as useEffect27, useState as useState48 } from "react";
10196
10168
  import { Controller as Controller7, useForm as useForm7 } from "react-hook-form";
10197
10169
  var CreditCardForm = (props) => {
10198
- const [cardNumber, setCardNumber] = useState49("");
10199
- const [cardType, setCardType] = useState49("");
10170
+ const [cardNumber, setCardNumber] = useState48("");
10171
+ const [cardType, setCardType] = useState48("");
10200
10172
  const methods = useForm7();
10201
10173
  const {
10202
10174
  formState: { errors },
@@ -10237,7 +10209,7 @@ var CreditCardForm = (props) => {
10237
10209
  console.log("card number is ", cardNumber2.trimRight());
10238
10210
  setCardNumber(cardNumber2.trimRight());
10239
10211
  };
10240
- useEffect28(() => {
10212
+ useEffect27(() => {
10241
10213
  let cardTypeSlug = getCardType(cardNumber);
10242
10214
  setCardType(cardTypeSlug);
10243
10215
  });
@@ -10335,9 +10307,9 @@ var CreditCardForm = (props) => {
10335
10307
  };
10336
10308
 
10337
10309
  // src/blocks/Payment/ChargeWalletForm.tsx
10338
- import React97, { useState as useState50 } from "react";
10310
+ import React97, { useState as useState49 } from "react";
10339
10311
  var ChargeWalletForm = (props) => {
10340
- const [walletAmount, setWalletAmount] = useState50(0);
10312
+ const [walletAmount, setWalletAmount] = useState49(0);
10341
10313
  return /* @__PURE__ */ React97.createElement(Card, null, /* @__PURE__ */ React97.createElement(CardContent, { headless: true }, /* @__PURE__ */ React97.createElement("div", { className: "p-4 text-center" }, /* @__PURE__ */ React97.createElement("div", { className: " text-5xl font-extrabold" }, Number(walletAmount).toLocaleString("en") || "0"), /* @__PURE__ */ React97.createElement("div", { className: "text-sm font-normal" }, props.currency || "SAR")), /* @__PURE__ */ React97.createElement("div", { className: "mb-2 flex w-full flex-col gap-4 text-center" }, /* @__PURE__ */ React97.createElement("div", { className: "mb-2 flex w-full flex-row gap-4 text-center" }, /* @__PURE__ */ React97.createElement(Button, { variant: "outline", className: "h-full w-full" }, "10 SAR"), /* @__PURE__ */ React97.createElement(Button, { variant: "outline", className: "h-full w-full" }, "50 SAR"), /* @__PURE__ */ React97.createElement(Button, { variant: "outline", className: "h-full w-full" }, "100 SAR")), /* @__PURE__ */ React97.createElement(Input, { placeholder: "Custom Amount", type: "number", name: "amount" })), /* @__PURE__ */ React97.createElement(Button, { className: "mt-6 w-full" }, props.texts.chargeWallet)));
10342
10314
  };
10343
10315
 
@@ -10610,7 +10582,7 @@ var PricingPlans = (props) => {
10610
10582
  };
10611
10583
 
10612
10584
  // src/blocks/Pricing/ComparingPlans.tsx
10613
- import React102, { useState as useState51 } from "react";
10585
+ import React102, { useState as useState50 } from "react";
10614
10586
  var CheckMark = () => /* @__PURE__ */ React102.createElement(
10615
10587
  "svg",
10616
10588
  {
@@ -10646,8 +10618,8 @@ var UncheckMark = () => /* @__PURE__ */ React102.createElement(
10646
10618
  )
10647
10619
  );
10648
10620
  var ComparingPlans = (props) => {
10649
- const [currentCurrency, setCurrentCurrency] = useState51("sar");
10650
- const [currentCycle, setCurrentCycle] = useState51("month");
10621
+ const [currentCurrency, setCurrentCurrency] = useState50("sar");
10622
+ const [currentCycle, setCurrentCycle] = useState50("month");
10651
10623
  return /* @__PURE__ */ React102.createElement("div", { id: "detailed-pricing", className: "w-full overflow-x-auto" }, /* @__PURE__ */ React102.createElement("div", { className: "mb-2 flex w-full justify-between" }, /* @__PURE__ */ React102.createElement(
10652
10624
  HawaRadio,
10653
10625
  {
@@ -10683,10 +10655,10 @@ var ComparingPlans = (props) => {
10683
10655
  };
10684
10656
 
10685
10657
  // src/blocks/Pricing/HorizontalPricing.tsx
10686
- import React103, { useState as useState52 } from "react";
10658
+ import React103, { useState as useState51 } from "react";
10687
10659
  import clsx33 from "clsx";
10688
10660
  var HorizontalPricing = (props) => {
10689
- const [selectedCard, setSelectedCard] = useState52(null);
10661
+ const [selectedCard, setSelectedCard] = useState51(null);
10690
10662
  let data = [
10691
10663
  { title: "basic", price: "$49", cycle: "/mo" },
10692
10664
  { title: "business", price: "$99", cycle: "/mo" },
@@ -11082,7 +11054,7 @@ var NoPermission = ({ texts }) => {
11082
11054
  };
11083
11055
 
11084
11056
  // src/hooks/useHover.ts
11085
- import { useEffect as useEffect29, useRef as useRef20, useState as useState53 } from "react";
11057
+ import { useEffect as useEffect28, useRef as useRef19, useState as useState52 } from "react";
11086
11058
  export {
11087
11059
  ActionCard,
11088
11060
  Announcement,