@sikka/hawa 0.1.94 → 0.1.96

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
@@ -317,12 +317,13 @@ var HawaRadio = ({
317
317
  props.onChangeTab(opt.value);
318
318
  },
319
319
  className: cn(
320
- "w-full cursor-pointer",
320
+ "w-full cursor-pointer ",
321
321
  orientation === "horizontal" && parentDirection === "ltr" && "rounded-none first:rounded-l last:rounded-r",
322
322
  orientation === "horizontal" && parentDirection === "rtl" && "rounded-none first:rounded-r last:rounded-l",
323
323
  orientation === "vertical" && "rounded-none first:rounded-t last:rounded-b",
324
324
  "last flex flex-row items-center justify-center gap-2 ",
325
325
  selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
326
+ // "bg-red-500"
326
327
  ),
327
328
  key: o
328
329
  },
@@ -377,7 +378,7 @@ var HawaRadio = ({
377
378
  htmlFor: opt.value.toString(),
378
379
  className: cn(
379
380
  "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"
381
+ 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
382
  )
382
383
  },
383
384
  /* @__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 +477,13 @@ var Option = ({
476
477
  "div",
477
478
  {
478
479
  ref: innerRef,
479
- className: "flex flex-row items-center justify-between rounded-inner p-1 px-2 hover:text-primary-foreground hover:bg-primary",
480
+ 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
481
  ...innerProps
481
482
  },
482
483
  children
483
484
  );
484
485
  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(
486
+ 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
487
  Select,
487
488
  {
488
489
  classNames: {
@@ -985,7 +986,7 @@ var DropdownMenuSubTrigger = React19.forwardRef(({ className, inset, children, .
985
986
  {
986
987
  ref,
987
988
  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",
989
+ "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
990
  inset && "pl-8",
990
991
  className
991
992
  ),
@@ -1046,13 +1047,13 @@ var DropdownMenuItem = React19.forwardRef(({ className, inset, ...props }, ref)
1046
1047
  disabled: props.disabled,
1047
1048
  ref,
1048
1049
  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",
1050
+ "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
1051
  inset && "pl-8",
1051
1052
  className
1052
1053
  ),
1053
1054
  ...props
1054
1055
  },
1055
- /* @__PURE__ */ React19.createElement("div", { className: "flex flex-row items-center gap-2" }, props.children),
1056
+ /* @__PURE__ */ React19.createElement("div", { className: "flex flex-row items-center gap-2 " }, props.children),
1056
1057
  props.end && props.end
1057
1058
  ));
1058
1059
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
@@ -1160,6 +1161,7 @@ var DropdownMenu = ({
1160
1161
  align,
1161
1162
  alignOffset,
1162
1163
  selectCallback,
1164
+ size = "default",
1163
1165
  width = "default"
1164
1166
  }) => {
1165
1167
  const widthStyles2 = {
@@ -1168,6 +1170,10 @@ var DropdownMenu = ({
1168
1170
  lg: "w-[200px]",
1169
1171
  parent: "ddm-w-parent"
1170
1172
  };
1173
+ const sizeStyles2 = {
1174
+ default: "px-2 py-3 ",
1175
+ sm: "text-xs px-1.5 py-1.5"
1176
+ };
1171
1177
  return /* @__PURE__ */ React19.createElement(DropdownMenuRoot, { dir: direction }, /* @__PURE__ */ React19.createElement(DropdownMenuTrigger, { className: triggerClassname }, trigger), /* @__PURE__ */ React19.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React19.createElement(
1172
1178
  DropdownMenuContent,
1173
1179
  {
@@ -1178,47 +1184,68 @@ var DropdownMenu = ({
1178
1184
  alignOffset
1179
1185
  },
1180
1186
  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(
1182
- DropdownMenuItem,
1183
- {
1184
- disabled: subitem.disabled,
1185
- className: "flex flex-row gap-2",
1186
- onSelect: () => {
1187
- subitem.action();
1188
- if (selectCallback) {
1189
- selectCallback(subitem.value);
1190
- }
1187
+ if (item.type === "separator") {
1188
+ return /* @__PURE__ */ React19.createElement(DropdownMenuSeparator, null);
1189
+ } else if (item.type === "label") {
1190
+ return /* @__PURE__ */ React19.createElement(DropdownMenuLabel, null, item.label);
1191
+ } else {
1192
+ return item.subitems ? /* @__PURE__ */ React19.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React19.createElement(
1193
+ DropdownMenuSubTrigger,
1194
+ {
1195
+ className: cn(sizeStyles2[size]),
1196
+ dir: direction
1191
1197
  },
1192
- key: subIndex
1193
- },
1194
- subitem.icon && subitem.icon,
1195
- subitem.label
1196
- ))))) : /* @__PURE__ */ React19.createElement(
1197
- DropdownMenuItem,
1198
- {
1199
- disabled: item.disabled,
1200
- className: "flex flex-row gap-2",
1201
- key: index,
1202
- onSelect: (e) => {
1203
- if (item.presist) {
1204
- e.preventDefault();
1205
- }
1206
- if (item.action) {
1207
- item.action();
1198
+ item.icon && item.icon,
1199
+ item.label && item.label
1200
+ ), /* @__PURE__ */ React19.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React19.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => /* @__PURE__ */ React19.createElement(
1201
+ DropdownMenuItem,
1202
+ {
1203
+ className: cn(
1204
+ sizeStyles2[size],
1205
+ !item.icon && !item.label ? "px-0 py-0 focus:bg-transparent" : "focus:bg-accent"
1206
+ ),
1207
+ disabled: subitem.disabled,
1208
+ onSelect: () => {
1209
+ subitem.action();
1208
1210
  if (selectCallback) {
1209
- selectCallback(item.value);
1211
+ selectCallback(subitem.value);
1210
1212
  }
1211
- } else {
1212
- if (selectCallback) {
1213
- selectCallback(item.value);
1213
+ },
1214
+ key: subIndex
1215
+ },
1216
+ subitem.icon && subitem.icon,
1217
+ subitem.label && subitem.label
1218
+ ))))) : /* @__PURE__ */ React19.createElement(
1219
+ DropdownMenuItem,
1220
+ {
1221
+ disabled: item.disabled,
1222
+ key: index,
1223
+ onSelect: (e) => {
1224
+ if (item.presist) {
1225
+ e.preventDefault();
1214
1226
  }
1215
- }
1227
+ if (item.action) {
1228
+ item.action();
1229
+ if (selectCallback) {
1230
+ selectCallback(item.value);
1231
+ }
1232
+ } else {
1233
+ if (selectCallback) {
1234
+ selectCallback(item.value);
1235
+ }
1236
+ }
1237
+ },
1238
+ end: item.end,
1239
+ className: cn(
1240
+ sizeStyles2[size],
1241
+ !item.icon && !item.label ? "px-0 py-0 focus:bg-transparent " : "focus:bg-accent ",
1242
+ item.presist && "focus:bg-transparent"
1243
+ )
1216
1244
  },
1217
- end: item.end
1218
- },
1219
- item.icon && item.icon,
1220
- item.label
1221
- );
1245
+ item.icon && item.icon,
1246
+ item.label && item.label
1247
+ );
1248
+ }
1222
1249
  })
1223
1250
  )));
1224
1251
  };
@@ -1292,57 +1319,7 @@ var HawaTable = ({
1292
1319
  useEffect6(() => {
1293
1320
  changePage();
1294
1321
  }, [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(
1322
+ return /* @__PURE__ */ React20.createElement("div", { className: "relative flex flex-col gap-2 bg-background " }, /* @__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
1323
  "table",
1347
1324
  {
1348
1325
  className: clsx7(
@@ -1449,7 +1426,7 @@ var HawaTable = ({
1449
1426
  /* @__PURE__ */ React20.createElement("div", { className: "flex items-center justify-center" }, /* @__PURE__ */ React20.createElement(
1450
1427
  DropdownMenu,
1451
1428
  {
1452
- width: "sm",
1429
+ width: props.actionsWidth,
1453
1430
  direction,
1454
1431
  side: "right",
1455
1432
  items: props.actions,
@@ -4211,7 +4188,7 @@ function Skeleton({
4211
4188
 
4212
4189
  // src/elements/HawaStats.tsx
4213
4190
  var HawaStats = ({ variant = "default", ...props }) => {
4214
- return /* @__PURE__ */ React33.createElement(Card, { onClick: props.handleClick, clickable: Boolean(props.handleClick) }, /* @__PURE__ */ React33.createElement(CardHeader, { className: "flex flex-row items-center justify-between space-y-0 pb-2" }, /* @__PURE__ */ React33.createElement(CardTitle, { className: "text-sm font-medium" }, props.label), props.icon && props.icon), /* @__PURE__ */ React33.createElement(CardContent, null, props.isLoading ? /* @__PURE__ */ React33.createElement(Skeleton, { className: "h-8 w-3/4" }) : /* @__PURE__ */ React33.createElement("div", { className: "text-2xl font-bold" }, props.number), props.isLoading && props.helperText ? /* @__PURE__ */ React33.createElement(Skeleton, { className: "mt-2 h-4 w-1/2" }) : props.helperText && /* @__PURE__ */ React33.createElement("p", { className: "text-xs text-muted-foreground" }, props.helperText)));
4191
+ return /* @__PURE__ */ React33.createElement(Card, { onClick: props.handleClick, clickable: Boolean(props.handleClick) }, /* @__PURE__ */ React33.createElement(CardHeader, { className: "flex flex-row items-center justify-between space-y-0 pb-2" }, /* @__PURE__ */ React33.createElement(CardTitle, { className: "text-sm font-medium" }, props.label), props.icon && props.icon), /* @__PURE__ */ React33.createElement(CardContent, null, props.isLoading ? /* @__PURE__ */ React33.createElement(Skeleton, { className: "h-8 w-3/4" }) : /* @__PURE__ */ React33.createElement("div", { className: "text-2xl font-bold" }, props.number), props.isLoading && props.helperText ? /* @__PURE__ */ React33.createElement(Skeleton, { className: "mt-2 h-4 w-1/2" }) : props.helperText && /* @__PURE__ */ React33.createElement("p", { className: "text-xs text-muted-foreground" }, props.helperText), props.isLoading && props.chart ? /* @__PURE__ */ React33.createElement(Skeleton, { className: "mt-2 h-4 w-1/2" }) : props.chart));
4215
4192
  };
4216
4193
 
4217
4194
  // src/elements/HawaCodeBlock.tsx
@@ -5694,7 +5671,6 @@ var FloatingCommentSlate = () => {
5694
5671
  // src/elements/FloatingCommentExec.tsx
5695
5672
  import React47 from "react";
5696
5673
  import ReactDOMServer from "react-dom/server";
5697
- import { AiOutlineClose } from "react-icons/ai";
5698
5674
  var base64 = "iVBORw0KGgoAAAANSUhEUgAAANUAAABhCAYAAABBG+TgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACEgSURBVHhe7Z0HWFRXFsfPG1SaFKWDgBUsWLH3lthN1cQYY5ItiellN9mYxGQ3m2rcbDYxuiamJ2qqaa4NK/aOFaWIIgqKIE1Rmbf3f+eNvJl5b2DgDWK8v++bj3nDlDdw/++ce+4550pl5ZdlEggEhmFSfgoEAoMQohIIDEaISiAwGCEqgcBghKgEAoMRohIIDEaISiAwGCEqgcBg6p2oZJmowkx0qULmN9wXCK4l6lVGRckFmbIKJcotluliheWxh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ZGooMySfAvrdbFC4ntNkSRzy4NSEH8mpEBvS892dDpCvp47Q+MCgTPqragEgmsVt2dUCATXG0JUAoHBCFEJBAYjRCUQGIwQlUBgMEJUAoHBCFEJBAYjRCUQGIwQlUBgMEJUAoHBCFEJBIZC9H8N2KynRYkKgQAAAABJRU5ErkJggg==";
5699
5675
  var Property3 = (props) => {
5700
5676
  return /* @__PURE__ */ React47.createElement(
@@ -5707,7 +5683,24 @@ var Property3 = (props) => {
5707
5683
  );
5708
5684
  };
5709
5685
  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)));
5686
+ 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(
5687
+ "svg",
5688
+ {
5689
+ "aria-label": "Close Icon",
5690
+ "aria-hidden": "true",
5691
+ className: "h-4 w-4",
5692
+ fill: "currentColor",
5693
+ viewBox: "0 0 20 20"
5694
+ },
5695
+ /* @__PURE__ */ React47.createElement(
5696
+ "path",
5697
+ {
5698
+ fillRule: "evenodd",
5699
+ 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",
5700
+ clipRule: "evenodd"
5701
+ }
5702
+ )
5703
+ )));
5711
5704
  };
5712
5705
  var styles2 = {
5713
5706
  bold: "B",
@@ -5761,17 +5754,17 @@ var FloatingCommentExec = (props) => {
5761
5754
  };
5762
5755
 
5763
5756
  // src/elements/BackToTop.tsx
5764
- import React48, { useState as useState26, useEffect as useEffect16, useRef as useRef10 } from "react";
5757
+ import React48, { useState as useState25, useEffect as useEffect15, useRef as useRef9 } from "react";
5765
5758
  import { clsx as clsx19 } from "clsx";
5766
5759
  var BackToTop = ({ ...props }) => {
5767
- const [visible, setVisible] = useState26(false);
5768
- const [rect, _setRect] = useState26(null);
5769
- const _rect = useRef10(rect);
5760
+ const [visible, setVisible] = useState25(false);
5761
+ const [rect, _setRect] = useState25(null);
5762
+ const _rect = useRef9(rect);
5770
5763
  const setRect = (data) => {
5771
5764
  _rect.current = data;
5772
5765
  _setRect(data);
5773
5766
  };
5774
- const self = useRef10(null);
5767
+ const self = useRef9(null);
5775
5768
  const getCoords = () => {
5776
5769
  let anchor = props.anchor.current;
5777
5770
  return [anchor.scrollTop, anchor.scrollLeft];
@@ -5784,7 +5777,7 @@ var BackToTop = ({ ...props }) => {
5784
5777
  const backToTop = () => {
5785
5778
  props.anchor.current.scrollTo({ top: 0, behavior: "smooth" });
5786
5779
  };
5787
- useEffect16(() => {
5780
+ useEffect15(() => {
5788
5781
  if (!props.anchor.current)
5789
5782
  return;
5790
5783
  props.anchor.current.addEventListener("scroll", onScroll);
@@ -5861,7 +5854,7 @@ var Timeline = (props) => {
5861
5854
  };
5862
5855
 
5863
5856
  // src/elements/HawaPinInput.tsx
5864
- import React51, { useEffect as useEffect17, useState as useState27 } from "react";
5857
+ import React51, { useEffect as useEffect16, useState as useState26 } from "react";
5865
5858
  import clsx20 from "clsx";
5866
5859
  var HawaPinInput = ({
5867
5860
  label,
@@ -5871,7 +5864,7 @@ var HawaPinInput = ({
5871
5864
  getPins,
5872
5865
  ...props
5873
5866
  }) => {
5874
- const [pin, setPin] = useState27(Array.from(Array(digits)));
5867
+ const [pin, setPin] = useState26(Array.from(Array(digits)));
5875
5868
  const handleKeyDown = (e, index) => {
5876
5869
  let backTo = 0;
5877
5870
  if (e.key === "Backspace") {
@@ -5880,7 +5873,7 @@ var HawaPinInput = ({
5880
5873
  previousInput?.focus();
5881
5874
  }
5882
5875
  };
5883
- useEffect17(() => {
5876
+ useEffect16(() => {
5884
5877
  let unfilled = pin.includes(void 0);
5885
5878
  if (!unfilled) {
5886
5879
  getPins(pin);
@@ -5927,7 +5920,7 @@ var HawaPinInput = ({
5927
5920
  };
5928
5921
 
5929
5922
  // src/elements/HawaItemCard.tsx
5930
- import React52, { useEffect as useEffect18, useState as useState28 } from "react";
5923
+ import React52, { useEffect as useEffect17, useState as useState27 } from "react";
5931
5924
  import clsx21 from "clsx";
5932
5925
  var HawaItemCard = ({
5933
5926
  actions,
@@ -5957,11 +5950,11 @@ var HawaItemCard = ({
5957
5950
  )
5958
5951
  };
5959
5952
  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);
5953
+ const [openActionHeader, setOpenActionHeader] = useState27(false);
5961
5954
  function handleOpenActionHeader() {
5962
5955
  setOpenActionHeader(!openActionHeader);
5963
5956
  }
5964
- useEffect18(() => {
5957
+ useEffect17(() => {
5965
5958
  window.onclick = () => {
5966
5959
  if (openActionHeader) {
5967
5960
  setOpenActionHeader(false);
@@ -6093,12 +6086,12 @@ var HawaPricingCard = ({
6093
6086
 
6094
6087
  // src/elements/HawaAdCard.tsx
6095
6088
  import clsx23 from "clsx";
6096
- import React54, { useState as useState29, useEffect as useEffect19, useRef as useRef11 } from "react";
6089
+ import React54, { useState as useState28, useEffect as useEffect18, useRef as useRef10 } from "react";
6097
6090
  var HawaAdCard = ({ orientation, ...props }) => {
6098
- const adRef = useRef11(null);
6099
- const [closed, setClosed] = useState29(false);
6091
+ const adRef = useRef10(null);
6092
+ const [closed, setClosed] = useState28(false);
6100
6093
  let duration = 0;
6101
- useEffect19(() => {
6094
+ useEffect18(() => {
6102
6095
  if (duration) {
6103
6096
  const timeoutHide = setTimeout(() => {
6104
6097
  setClosed(true);
@@ -6196,7 +6189,7 @@ var HawaLandingCard = ({
6196
6189
  };
6197
6190
 
6198
6191
  // src/elements/HawaButton.tsx
6199
- import React56, { useState as useState30 } from "react";
6192
+ import React56, { useState as useState29 } from "react";
6200
6193
  import clsx25 from "clsx";
6201
6194
  var disabledSyles = "cursor-default pointer-events-none";
6202
6195
  var disabledVariantSyles = {
@@ -6264,8 +6257,8 @@ var HawaButton = ({
6264
6257
  feedback,
6265
6258
  ...props
6266
6259
  }) => {
6267
- const [isClicked, setIsClicked] = useState30(false);
6268
- const [buttonText, setButtonText] = useState30(children);
6260
+ const [isClicked, setIsClicked] = useState29(false);
6261
+ const [buttonText, setButtonText] = useState29(children);
6269
6262
  const handleClick = (event) => {
6270
6263
  if (props.onClick) {
6271
6264
  props.onClick(event);
@@ -6439,9 +6432,9 @@ var HawaStoreButtons = (props) => {
6439
6432
  };
6440
6433
 
6441
6434
  // src/elements/ActionCard.tsx
6442
- import React58, { useState as useState31 } from "react";
6435
+ import React58, { useState as useState30 } from "react";
6443
6436
  var ActionCard = (props) => {
6444
- const [hovered, setHovered] = useState31(false);
6437
+ const [hovered, setHovered] = useState30(false);
6445
6438
  return /* @__PURE__ */ React58.createElement("div", { className: "flex h-full w-full flex-col gap-1 " }, /* @__PURE__ */ React58.createElement(
6446
6439
  "div",
6447
6440
  {
@@ -6484,7 +6477,7 @@ var StickyFeatures = (props) => {
6484
6477
  };
6485
6478
 
6486
6479
  // src/elements/UserReferralSource.tsx
6487
- import React61, { useEffect as useEffect20, useRef as useRef12, useState as useState32 } from "react";
6480
+ import React61, { useEffect as useEffect19, useRef as useRef11, useState as useState31 } from "react";
6488
6481
  import clsx26 from "clsx";
6489
6482
 
6490
6483
  // src/elements/Textarea.tsx
@@ -6511,16 +6504,16 @@ var UserReferralSource = ({
6511
6504
  position = "bottom-right",
6512
6505
  ...props
6513
6506
  }) => {
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);
6507
+ const [closed, setClosed] = useState31(false);
6508
+ const [answered, setAnswered] = useState31(false);
6509
+ const [clickedOption, setClickedOption] = useState31(null);
6510
+ const [closingTimer, setClosingTimer] = useState31(5);
6511
+ const popUpRef = useRef11(null);
6519
6512
  const boxPosition = {
6520
6513
  "bottom-right": "right-4",
6521
6514
  "bottom-left": "left-4"
6522
6515
  };
6523
- useEffect20(() => {
6516
+ useEffect19(() => {
6524
6517
  const timeoutHide = setTimeout(() => {
6525
6518
  if (closingTimer >= 0) {
6526
6519
  setClosingTimer(closingTimer - 1);
@@ -6595,12 +6588,12 @@ var UserReferralSource = ({
6595
6588
  import React62 from "react";
6596
6589
 
6597
6590
  // src/hooks/useCarousel.ts
6598
- import { useState as useState33, useRef as useRef13 } from "react";
6591
+ import { useState as useState32, useRef as useRef12 } from "react";
6599
6592
  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);
6593
+ const [isDragging, setIsDragging] = useState32(false);
6594
+ const [startDragX, setStartDragX] = useState32(0);
6595
+ const [scrollLeft, setScrollLeft] = useState32(0);
6596
+ const containerRef = useRef12(null);
6604
6597
  const findClosestSnapPoint = (scrollLeft2) => {
6605
6598
  return Math.round(scrollLeft2 / imageWidth) * imageWidth;
6606
6599
  };
@@ -6700,14 +6693,14 @@ var Input = React63.forwardRef(
6700
6693
  Input.displayName = "Input";
6701
6694
 
6702
6695
  // src/elements/InterfaceSettings.tsx
6703
- import React64, { useState as useState35 } from "react";
6696
+ import React64, { useState as useState34 } from "react";
6704
6697
  var InterfaceSettings = ({
6705
6698
  orientation = "horizontal",
6706
6699
  width = "default",
6707
6700
  ...props
6708
6701
  }) => {
6709
- const [color, setColor] = useState35(props.currentColorMode);
6710
- const [language, setLanguage] = useState35(props.currentLanguage);
6702
+ const [color, setColor] = useState34(props.currentColorMode);
6703
+ const [language, setLanguage] = useState34(props.currentLanguage);
6711
6704
  let orientationStyle = {
6712
6705
  horizontal: "flex flex-row justify-between",
6713
6706
  vertical: "flex flex-col items-center gap-2"
@@ -7286,13 +7279,13 @@ var HawaBottomAppBar = (props) => {
7286
7279
  };
7287
7280
 
7288
7281
  // src/layout/HawaSiteLayout.tsx
7289
- import React76, { useEffect as useEffect23, useRef as useRef15, useState as useState39 } from "react";
7282
+ import React76, { useEffect as useEffect22, useRef as useRef14, useState as useState38 } from "react";
7290
7283
  import clsx27 from "clsx";
7291
7284
 
7292
7285
  // src/hooks/useDiscloser.ts
7293
- import { useState as useState37 } from "react";
7286
+ import { useState as useState36 } from "react";
7294
7287
  var useDiscloser = (value = false) => {
7295
- const [open, setOpen] = useState37(value);
7288
+ const [open, setOpen] = useState36(value);
7296
7289
  const onOpen = () => setOpen(true);
7297
7290
  const onClose = () => setOpen(false);
7298
7291
  return {
@@ -7304,13 +7297,13 @@ var useDiscloser = (value = false) => {
7304
7297
  var useDiscloser_default = useDiscloser;
7305
7298
 
7306
7299
  // src/hooks/useBreakpoint.ts
7307
- import { useState as useState38, useEffect as useEffect22 } from "react";
7300
+ import { useState as useState37, useEffect as useEffect21 } from "react";
7308
7301
  var useBreakpoint = () => {
7309
- const [breakpoint, setBreakpoint] = useState38(window?.innerWidth);
7302
+ const [breakpoint, setBreakpoint] = useState37(window?.innerWidth);
7310
7303
  const resize = () => {
7311
7304
  setBreakpoint(window?.innerWidth);
7312
7305
  };
7313
- useEffect22(() => {
7306
+ useEffect21(() => {
7314
7307
  if (typeof window !== "undefined") {
7315
7308
  window?.addEventListener("resize", resize);
7316
7309
  return () => {
@@ -7328,19 +7321,19 @@ var HawaSiteLayout = ({
7328
7321
  navigationSize = "md",
7329
7322
  ...props
7330
7323
  }) => {
7331
- const [openSideMenu, setOpenSideMenu] = useState39(false);
7332
- const [openSubItem, setOpenSubItem] = useState39(false);
7324
+ const [openSideMenu, setOpenSideMenu] = useState38(false);
7325
+ const [openSubItem, setOpenSubItem] = useState38(false);
7333
7326
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
7334
- const ref = useRef15(null);
7335
- const drawerItemRef = useRef15(null);
7327
+ const ref = useRef14(null);
7328
+ const drawerItemRef = useRef14(null);
7336
7329
  let size;
7337
7330
  if (typeof window !== "undefined") {
7338
7331
  size = useBreakpoint_default();
7339
7332
  } else {
7340
7333
  size = 1200;
7341
7334
  }
7342
- const [keepOpen, setKeepOpen] = useState39(false);
7343
- useEffect23(() => {
7335
+ const [keepOpen, setKeepOpen] = useState38(false);
7336
+ useEffect22(() => {
7344
7337
  const handleClickOutside = (event) => {
7345
7338
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
7346
7339
  setOpenSideMenu(false);
@@ -7441,7 +7434,7 @@ var HawaSiteLayout = ({
7441
7434
  };
7442
7435
 
7443
7436
  // src/layout/AppLayout.tsx
7444
- import React78, { useEffect as useEffect24, useRef as useRef16, useState as useState40 } from "react";
7437
+ import React78, { useEffect as useEffect23, useRef as useRef15, useState as useState39 } from "react";
7445
7438
  import clsx28 from "clsx";
7446
7439
 
7447
7440
  // src/layout/Sidebar.tsx
@@ -7654,10 +7647,10 @@ var AppLayout = ({
7654
7647
  lg: closeDrawerWidth
7655
7648
  }
7656
7649
  };
7657
- const ref = useRef16(null);
7650
+ const ref = useRef15(null);
7658
7651
  const isRTL = direction === "rtl";
7659
- const [openedSidebarItem, setOpenedSidebarItem] = useState40("");
7660
- const [selectedItem, setSelectedItem] = useState40(
7652
+ const [openedSidebarItem, setOpenedSidebarItem] = useState39("");
7653
+ const [selectedItem, setSelectedItem] = useState39(
7661
7654
  currentPage ? currentPage : []
7662
7655
  );
7663
7656
  let size;
@@ -7666,10 +7659,10 @@ var AppLayout = ({
7666
7659
  } else {
7667
7660
  size = 1200;
7668
7661
  }
7669
- const [keepOpen, setKeepOpen] = useState40(size > 600 ? true : false);
7670
- const [openSideMenu, setOpenSideMenu] = useState40(size > 600 ? true : false);
7662
+ const [keepOpen, setKeepOpen] = useState39(size > 600 ? true : false);
7663
+ const [openSideMenu, setOpenSideMenu] = useState39(size > 600 ? true : false);
7671
7664
  let drawerSizeCondition = size > 600 ? drawerSizeStyle[keepOpen ? "opened" : "closed"][drawerSize] : 0;
7672
- useEffect24(() => {
7665
+ useEffect23(() => {
7673
7666
  const handleClickOutside = (event) => {
7674
7667
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
7675
7668
  setOpenSideMenu(false);
@@ -7765,7 +7758,10 @@ var AppLayout = ({
7765
7758
  alignOffset: 8,
7766
7759
  side: "bottom",
7767
7760
  sideOffset: 5,
7761
+ width: props.profileMenuWidth,
7768
7762
  direction: isRTL ? "rtl" : "ltr",
7763
+ items: props.profileMenuItems,
7764
+ onItemSelect: (e) => console.log("selecting item ", e),
7769
7765
  trigger: /* @__PURE__ */ React78.createElement("div", { className: "relative h-8 w-8 cursor-pointer overflow-clip rounded ring-1 ring-primary/30 dark:bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React78.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React78.createElement(
7770
7766
  "svg",
7771
7767
  {
@@ -7782,9 +7778,7 @@ var AppLayout = ({
7782
7778
  clipRule: "evenodd"
7783
7779
  }
7784
7780
  )
7785
- )),
7786
- items: props.profileMenuItems,
7787
- onItemSelect: (e) => console.log("selecting item ", e)
7781
+ ))
7788
7782
  }
7789
7783
  )
7790
7784
  )
@@ -7959,7 +7953,7 @@ var AppLayout = ({
7959
7953
  };
7960
7954
 
7961
7955
  // src/layout/HawaAppLayout.tsx
7962
- import React79, { useEffect as useEffect25, useRef as useRef17, useState as useState41 } from "react";
7956
+ import React79, { useEffect as useEffect24, useRef as useRef16, useState as useState40 } from "react";
7963
7957
  import clsx29 from "clsx";
7964
7958
  import { FaChevronRight } from "react-icons/fa";
7965
7959
  var HawaAppLayout = ({
@@ -7968,11 +7962,11 @@ var HawaAppLayout = ({
7968
7962
  onSettingsClick,
7969
7963
  ...props
7970
7964
  }) => {
7971
- const [openSideMenu, setOpenSideMenu] = useState41(false);
7972
- const [openSubItem, setOpenSubitem] = useState41("");
7965
+ const [openSideMenu, setOpenSideMenu] = useState40(false);
7966
+ const [openSubItem, setOpenSubitem] = useState40("");
7973
7967
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
7974
- const [keepOpen, setKeepOpen] = useState41(false);
7975
- const ref = useRef17(null);
7968
+ const [keepOpen, setKeepOpen] = useState40(false);
7969
+ const ref = useRef16(null);
7976
7970
  const isRTL = direction === "rtl";
7977
7971
  let size;
7978
7972
  if (typeof window !== "undefined") {
@@ -7980,7 +7974,7 @@ var HawaAppLayout = ({
7980
7974
  } else {
7981
7975
  size = 1200;
7982
7976
  }
7983
- useEffect25(() => {
7977
+ useEffect24(() => {
7984
7978
  const handleClickOutside = (event) => {
7985
7979
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
7986
7980
  setOpenSideMenu(false);
@@ -8353,7 +8347,7 @@ var HawaAppLayout = ({
8353
8347
  };
8354
8348
 
8355
8349
  // src/layout/HawaAppLayoutSimplified.tsx
8356
- import React80, { useEffect as useEffect26, useRef as useRef18, useState as useState42 } from "react";
8350
+ import React80, { useEffect as useEffect25, useRef as useRef17, useState as useState41 } from "react";
8357
8351
  import clsx30 from "clsx";
8358
8352
  var HawaAppLayoutSimplified = ({
8359
8353
  direction = "rtl",
@@ -8362,11 +8356,11 @@ var HawaAppLayoutSimplified = ({
8362
8356
  DrawerFooterActions,
8363
8357
  ...props
8364
8358
  }) => {
8365
- const [openSideMenu, setOpenSideMenu] = useState42(false);
8366
- const [openSubItem, setOpenSubitem] = useState42("");
8359
+ const [openSideMenu, setOpenSideMenu] = useState41(false);
8360
+ const [openSubItem, setOpenSubitem] = useState41("");
8367
8361
  const { isOpen, onClose, onOpen } = useDiscloser_default(false);
8368
- const [keepOpen, setKeepOpen] = useState42(false);
8369
- const ref = useRef18(null);
8362
+ const [keepOpen, setKeepOpen] = useState41(false);
8363
+ const ref = useRef17(null);
8370
8364
  const isRTL = direction === "rtl";
8371
8365
  let size;
8372
8366
  if (typeof window !== "undefined") {
@@ -8374,7 +8368,7 @@ var HawaAppLayoutSimplified = ({
8374
8368
  } else {
8375
8369
  size = 1200;
8376
8370
  }
8377
- useEffect26(() => {
8371
+ useEffect25(() => {
8378
8372
  const handleClickOutside = (event) => {
8379
8373
  if (ref.current && !ref.current.contains(event.target) && !keepOpen) {
8380
8374
  setOpenSideMenu(false);
@@ -8864,14 +8858,14 @@ var Footer = ({
8864
8858
  };
8865
8859
 
8866
8860
  // src/layout/Banner.tsx
8867
- import React84, { useRef as useRef19, useState as useState43 } from "react";
8861
+ import React84, { useRef as useRef18, useState as useState42 } from "react";
8868
8862
  import clsx32 from "clsx";
8869
8863
  var HawaBanner = ({
8870
8864
  design = "floating",
8871
8865
  ...props
8872
8866
  }) => {
8873
- const bannerRef = useRef19(null);
8874
- const [closed, setClosed] = useState43(false);
8867
+ const bannerRef = useRef18(null);
8868
+ const [closed, setClosed] = useState42(false);
8875
8869
  let bannerStyle = {
8876
8870
  floating: "left-1/2 z-50 w-[calc(100%-2rem)] -translate-x-1/2 lg:max-w-7xl p-4 rounded",
8877
8871
  default: "w-[calc(100%)] left-0 z-50 right-0 rounded-none p-2"
@@ -9153,7 +9147,13 @@ var Icons = {
9153
9147
  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
9148
  }
9155
9149
  )),
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" })),
9150
+ microsoft: (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React.createElement(
9151
+ "path",
9152
+ {
9153
+ fill: "currentColor",
9154
+ d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
9155
+ }
9156
+ )),
9157
9157
  gitHub: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 438.549 438.549", ...props }, /* @__PURE__ */ React.createElement(
9158
9158
  "path",
9159
9159
  {
@@ -9314,7 +9314,7 @@ var AppLanding = (props) => {
9314
9314
  },
9315
9315
  /* @__PURE__ */ React87.createElement(Icons.phone, { className: "h-4 w-4" }),
9316
9316
  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(
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(
9318
9318
  "span",
9319
9319
  {
9320
9320
  onClick: props.handleRouteToSignUp,
@@ -9385,7 +9385,7 @@ var AppLanding = (props) => {
9385
9385
  };
9386
9386
 
9387
9387
  // src/blocks/AuthForms/SignInPhone.tsx
9388
- import React88, { useState as useState44 } from "react";
9388
+ import React88, { useState as useState43 } from "react";
9389
9389
  import { Controller as Controller2, useForm as useForm2 } from "react-hook-form";
9390
9390
  var SignInPhone = (props) => {
9391
9391
  const methods = useForm2();
@@ -9394,7 +9394,7 @@ var SignInPhone = (props) => {
9394
9394
  handleSubmit,
9395
9395
  control
9396
9396
  } = methods;
9397
- const [userPhone, setUserPhone] = useState44("");
9397
+ const [userPhone, setUserPhone] = useState43("");
9398
9398
  return /* @__PURE__ */ React88.createElement(Card, null, /* @__PURE__ */ React88.createElement(CardContent, { headless: true }, /* @__PURE__ */ React88.createElement(
9399
9399
  "form",
9400
9400
  {
@@ -9865,10 +9865,10 @@ var SignUpForm = (props) => {
9865
9865
  };
9866
9866
 
9867
9867
  // src/blocks/AuthForms/NewPasswordForm.tsx
9868
- import React91, { useState as useState45 } from "react";
9868
+ import React91, { useState as useState44 } from "react";
9869
9869
  import { Controller as Controller5, FormProvider as FormProvider3, useForm as useForm5 } from "react-hook-form";
9870
9870
  var NewPasswordForm = (props) => {
9871
- const [matchError, setMatchError] = useState45(false);
9871
+ const [matchError, setMatchError] = useState44(false);
9872
9872
  const methods = useForm5();
9873
9873
  const {
9874
9874
  formState: { errors },
@@ -9882,7 +9882,7 @@ var NewPasswordForm = (props) => {
9882
9882
  setMatchError(true);
9883
9883
  }
9884
9884
  };
9885
- return /* @__PURE__ */ React91.createElement(Card, null, matchError && /* @__PURE__ */ React91.createElement(HawaAlert, { text: props.texts.passwordMatchError, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, /* @__PURE__ */ React91.createElement("div", { className: "text-center" }, props.texts.passwordChanged)) : /* @__PURE__ */ React91.createElement(FormProvider3, { ...methods }, /* @__PURE__ */ React91.createElement("form", { onSubmit: handleSubmit(handleSubmission) }, /* @__PURE__ */ React91.createElement(CardHeader, null, /* @__PURE__ */ React91.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React91.createElement(CardDescription, null, "Set a new password for your account")), /* @__PURE__ */ React91.createElement(CardContent, null, /* @__PURE__ */ React91.createElement(
9885
+ return /* @__PURE__ */ React91.createElement(Card, { dir: props.direction }, matchError && /* @__PURE__ */ React91.createElement(HawaAlert, { text: props.texts.passwordMatchError, severity: "error" }), props.passwordChanged ? /* @__PURE__ */ React91.createElement(CardContent, { headless: true }, /* @__PURE__ */ React91.createElement("div", { className: "text-center" }, props.texts.passwordChanged)) : /* @__PURE__ */ React91.createElement(FormProvider3, { ...methods }, /* @__PURE__ */ React91.createElement("form", { onSubmit: handleSubmit(handleSubmission) }, /* @__PURE__ */ React91.createElement(CardHeader, null, /* @__PURE__ */ React91.createElement(CardTitle, null, "Create Password"), /* @__PURE__ */ React91.createElement(CardDescription, null, "Set a new password for your account")), /* @__PURE__ */ React91.createElement(CardContent, null, /* @__PURE__ */ React91.createElement(
9886
9886
  Controller5,
9887
9887
  {
9888
9888
  control,
@@ -9976,9 +9976,9 @@ var ResetPasswordForm = (props) => {
9976
9976
  };
9977
9977
 
9978
9978
  // src/blocks/AuthForms/CodeConfirmation.tsx
9979
- import React93, { useState as useState46 } from "react";
9979
+ import React93, { useState as useState45 } from "react";
9980
9980
  var CodeConfirmation = (props) => {
9981
- const [pins, setPins] = useState46(null);
9981
+ const [pins, setPins] = useState45(null);
9982
9982
  return /* @__PURE__ */ React93.createElement(Card, null, /* @__PURE__ */ React93.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React93.createElement(
9983
9983
  HawaAlert,
9984
9984
  {
@@ -10024,9 +10024,9 @@ var CheckEmail = ({ texts, handleResend }) => {
10024
10024
  };
10025
10025
 
10026
10026
  // src/blocks/Payment/SelectPayment.tsx
10027
- import React95, { useState as useState48 } from "react";
10027
+ import React95, { useState as useState47 } from "react";
10028
10028
  var SelectPayment = (props) => {
10029
- const [selectedMethod, setSelectedMethod] = useState48("");
10029
+ const [selectedMethod, setSelectedMethod] = useState47("");
10030
10030
  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
10031
  Button,
10032
10032
  {
@@ -10192,11 +10192,11 @@ var SelectPayment = (props) => {
10192
10192
  };
10193
10193
 
10194
10194
  // src/blocks/Payment/CreditCardForm.tsx
10195
- import React96, { useEffect as useEffect28, useState as useState49 } from "react";
10195
+ import React96, { useEffect as useEffect27, useState as useState48 } from "react";
10196
10196
  import { Controller as Controller7, useForm as useForm7 } from "react-hook-form";
10197
10197
  var CreditCardForm = (props) => {
10198
- const [cardNumber, setCardNumber] = useState49("");
10199
- const [cardType, setCardType] = useState49("");
10198
+ const [cardNumber, setCardNumber] = useState48("");
10199
+ const [cardType, setCardType] = useState48("");
10200
10200
  const methods = useForm7();
10201
10201
  const {
10202
10202
  formState: { errors },
@@ -10237,7 +10237,7 @@ var CreditCardForm = (props) => {
10237
10237
  console.log("card number is ", cardNumber2.trimRight());
10238
10238
  setCardNumber(cardNumber2.trimRight());
10239
10239
  };
10240
- useEffect28(() => {
10240
+ useEffect27(() => {
10241
10241
  let cardTypeSlug = getCardType(cardNumber);
10242
10242
  setCardType(cardTypeSlug);
10243
10243
  });
@@ -10335,9 +10335,9 @@ var CreditCardForm = (props) => {
10335
10335
  };
10336
10336
 
10337
10337
  // src/blocks/Payment/ChargeWalletForm.tsx
10338
- import React97, { useState as useState50 } from "react";
10338
+ import React97, { useState as useState49 } from "react";
10339
10339
  var ChargeWalletForm = (props) => {
10340
- const [walletAmount, setWalletAmount] = useState50(0);
10340
+ const [walletAmount, setWalletAmount] = useState49(0);
10341
10341
  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
10342
  };
10343
10343
 
@@ -10610,7 +10610,7 @@ var PricingPlans = (props) => {
10610
10610
  };
10611
10611
 
10612
10612
  // src/blocks/Pricing/ComparingPlans.tsx
10613
- import React102, { useState as useState51 } from "react";
10613
+ import React102, { useState as useState50 } from "react";
10614
10614
  var CheckMark = () => /* @__PURE__ */ React102.createElement(
10615
10615
  "svg",
10616
10616
  {
@@ -10646,8 +10646,8 @@ var UncheckMark = () => /* @__PURE__ */ React102.createElement(
10646
10646
  )
10647
10647
  );
10648
10648
  var ComparingPlans = (props) => {
10649
- const [currentCurrency, setCurrentCurrency] = useState51("sar");
10650
- const [currentCycle, setCurrentCycle] = useState51("month");
10649
+ const [currentCurrency, setCurrentCurrency] = useState50("sar");
10650
+ const [currentCycle, setCurrentCycle] = useState50("month");
10651
10651
  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
10652
  HawaRadio,
10653
10653
  {
@@ -10683,10 +10683,10 @@ var ComparingPlans = (props) => {
10683
10683
  };
10684
10684
 
10685
10685
  // src/blocks/Pricing/HorizontalPricing.tsx
10686
- import React103, { useState as useState52 } from "react";
10686
+ import React103, { useState as useState51 } from "react";
10687
10687
  import clsx33 from "clsx";
10688
10688
  var HorizontalPricing = (props) => {
10689
- const [selectedCard, setSelectedCard] = useState52(null);
10689
+ const [selectedCard, setSelectedCard] = useState51(null);
10690
10690
  let data = [
10691
10691
  { title: "basic", price: "$49", cycle: "/mo" },
10692
10692
  { title: "business", price: "$99", cycle: "/mo" },
@@ -11082,7 +11082,7 @@ var NoPermission = ({ texts }) => {
11082
11082
  };
11083
11083
 
11084
11084
  // src/hooks/useHover.ts
11085
- import { useEffect as useEffect29, useRef as useRef20, useState as useState53 } from "react";
11085
+ import { useEffect as useEffect28, useRef as useRef19, useState as useState52 } from "react";
11086
11086
  export {
11087
11087
  ActionCard,
11088
11088
  Announcement,