@sikka/hawa 0.1.86 → 0.1.87

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
@@ -171,6 +171,7 @@ type SubItem$2 = {
171
171
  icon?: any;
172
172
  action?: () => void;
173
173
  highlighted?: boolean;
174
+ disabled?: boolean;
174
175
  };
175
176
  type MenuItemType = {
176
177
  icon?: any;
@@ -181,6 +182,7 @@ type MenuItemType = {
181
182
  action?: () => void;
182
183
  highlighted?: boolean;
183
184
  subitems?: SubItem$2[];
185
+ disabled?: boolean;
184
186
  };
185
187
  interface DropdownMenuProps {
186
188
  trigger?: any;
@@ -1032,6 +1034,8 @@ declare const AppSidebar: React__default.FC<Props>;
1032
1034
  type FooterTypes = {
1033
1035
  logoText?: string;
1034
1036
  logoURL?: string;
1037
+ copyRights?: string;
1038
+ variation?: "default" | "minimal";
1035
1039
  socialLinks?: {
1036
1040
  twitter?: string;
1037
1041
  instagram?: string;
@@ -1115,11 +1119,15 @@ type AppLandingTypes = {
1115
1119
  handleSignUp: () => void;
1116
1120
  handleLanguage: () => void;
1117
1121
  handleColorMode: () => void;
1118
- texts: {
1122
+ texts?: {
1119
1123
  signIn: string;
1120
1124
  signUp: string;
1121
1125
  lang: string;
1126
+ newUserText?: string;
1127
+ createAccount?: string;
1122
1128
  };
1129
+ withoutSignUp?: boolean;
1130
+ handleRouteToSignUp?: () => void;
1123
1131
  size: "small" | "normal" | "full";
1124
1132
  };
1125
1133
  declare const AppLanding: FC<AppLandingTypes>;
package/dist/index.d.ts CHANGED
@@ -171,6 +171,7 @@ type SubItem$2 = {
171
171
  icon?: any;
172
172
  action?: () => void;
173
173
  highlighted?: boolean;
174
+ disabled?: boolean;
174
175
  };
175
176
  type MenuItemType = {
176
177
  icon?: any;
@@ -181,6 +182,7 @@ type MenuItemType = {
181
182
  action?: () => void;
182
183
  highlighted?: boolean;
183
184
  subitems?: SubItem$2[];
185
+ disabled?: boolean;
184
186
  };
185
187
  interface DropdownMenuProps {
186
188
  trigger?: any;
@@ -1032,6 +1034,8 @@ declare const AppSidebar: React__default.FC<Props>;
1032
1034
  type FooterTypes = {
1033
1035
  logoText?: string;
1034
1036
  logoURL?: string;
1037
+ copyRights?: string;
1038
+ variation?: "default" | "minimal";
1035
1039
  socialLinks?: {
1036
1040
  twitter?: string;
1037
1041
  instagram?: string;
@@ -1115,11 +1119,15 @@ type AppLandingTypes = {
1115
1119
  handleSignUp: () => void;
1116
1120
  handleLanguage: () => void;
1117
1121
  handleColorMode: () => void;
1118
- texts: {
1122
+ texts?: {
1119
1123
  signIn: string;
1120
1124
  signUp: string;
1121
1125
  lang: string;
1126
+ newUserText?: string;
1127
+ createAccount?: string;
1122
1128
  };
1129
+ withoutSignUp?: boolean;
1130
+ handleRouteToSignUp?: () => void;
1123
1131
  size: "small" | "normal" | "full";
1124
1132
  };
1125
1133
  declare const AppLanding: FC<AppLandingTypes>;
package/dist/index.js CHANGED
@@ -1504,6 +1504,7 @@ var DropdownMenuItem = React19.forwardRef(function(_param, ref) /* @__PURE__ */
1504
1504
  "inset"
1505
1505
  ]);
1506
1506
  return React19.createElement(DropdownMenuPrimitive.Item, _object_spread({
1507
+ disabled: props.disabled,
1507
1508
  ref: ref,
1508
1509
  className: cn("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", inset && "pl-8", className)
1509
1510
  }, props), /* @__PURE__ */ React19.createElement("div", {
@@ -1620,6 +1621,7 @@ var DropdownMenu = function(param) {
1620
1621
  dir: direction
1621
1622
  }, item.icon && item.icon, item.label), /* @__PURE__ */ React19.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React19.createElement(DropdownMenuSubContent, null, item.subitems.map(function(subitem, subIndex) {
1622
1623
  return /* @__PURE__ */ React19.createElement(DropdownMenuItem, {
1624
+ disabled: subitem.disabled,
1623
1625
  className: "flex flex-row gap-2",
1624
1626
  onSelect: function() {
1625
1627
  return subitem.action();
@@ -1627,6 +1629,7 @@ var DropdownMenu = function(param) {
1627
1629
  key: subIndex
1628
1630
  }, subitem.icon && subitem.icon, subitem.label);
1629
1631
  })))) : /* @__PURE__ */ React19.createElement(DropdownMenuItem, {
1632
+ disabled: item.disabled,
1630
1633
  className: "flex flex-row gap-2",
1631
1634
  key: index,
1632
1635
  onSelect: function(e) {
@@ -6700,10 +6703,10 @@ var useCarousel_default = useCarousel;
6700
6703
  // src/elements/Carousel.tsx
6701
6704
  var Carousel = function(param) {
6702
6705
  var images = param.images;
6703
- var imageWidth = 240 + 16;
6706
+ var imageWidth = 1e3 + 16;
6704
6707
  var _useCarousel_default = useCarousel_default(imageWidth), containerRef = _useCarousel_default.containerRef, handleMouseDown = _useCarousel_default.handleMouseDown, handleMouseLeave = _useCarousel_default.handleMouseLeave, handleMouseUp = _useCarousel_default.handleMouseUp, handleMouseMove = _useCarousel_default.handleMouseMove;
6705
6708
  return /* @__PURE__ */ import_react54.default.createElement("div", {
6706
- className: "flex cursor-pointer snap-x gap-4 overflow-x-scroll",
6709
+ className: "flex cursor-pointer snap-x gap-4 overflow-x-hidden justify-center items-center",
6707
6710
  onMouseDown: handleMouseDown,
6708
6711
  onMouseLeave: handleMouseLeave,
6709
6712
  onMouseUp: handleMouseUp,
@@ -6712,10 +6715,11 @@ var Carousel = function(param) {
6712
6715
  }, images.map(function(image, index) {
6713
6716
  return /* @__PURE__ */ import_react54.default.createElement("div", {
6714
6717
  key: index,
6715
- className: "h-40 w-60 flex-shrink-0"
6718
+ className: "w-[1000px] h-96 flex-shrink-0"
6716
6719
  }, /* @__PURE__ */ import_react54.default.createElement("img", {
6717
6720
  src: image,
6718
6721
  alt: "Carousel Image ".concat(index),
6722
+ width: imageWidth,
6719
6723
  className: "h-full w-full rounded-lg object-cover"
6720
6724
  }));
6721
6725
  }));
@@ -8377,13 +8381,30 @@ var AppSidebar = function(param) {
8377
8381
  var import_bs = require("react-icons/bs");
8378
8382
  var import_fa2 = require("react-icons/fa");
8379
8383
  var Footer = function(_param) {
8380
- var props = _extends({}, _object_destructuring_empty(_param));
8384
+ var _param_variation = _param.variation, variation = _param_variation === void 0 ? "default" : _param_variation, props = _object_without_properties(_param, [
8385
+ "variation"
8386
+ ]);
8381
8387
  var _props_footerLinks;
8388
+ var variationStyles = {
8389
+ default: "rounded border",
8390
+ minimal: "border-t"
8391
+ };
8382
8392
  return /* @__PURE__ */ React.createElement("div", {
8383
- className: "sticky bottom-0 left-0 flex w-full flex-row gap-8 bg-blue-200 p-4"
8384
- }, props.logoText && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", {
8385
- className: "text-2xl font-bold"
8386
- }, props.logoText)), (_props_footerLinks = props.footerLinks) === null || _props_footerLinks === void 0 ? void 0 : _props_footerLinks.map(function(pagesSection) {
8393
+ className: cn("flex w-full flex-row items-center justify-between gap-8 rounded bg-background p-4", variationStyles[variation])
8394
+ }, /* @__PURE__ */ React.createElement("div", {
8395
+ className: "flex flex-col items-center gap-2"
8396
+ }, /* @__PURE__ */ React.createElement("div", {
8397
+ className: "flex flex-row items-center gap-2"
8398
+ }, props.logoURL && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("img", {
8399
+ className: "h-8",
8400
+ src: props.logoURL
8401
+ })), props.logoText && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", {
8402
+ className: "text-2xl font-bold text-primary"
8403
+ }, props.logoText))), props.copyRights && props.footerLinks && /* @__PURE__ */ React.createElement("div", {
8404
+ className: "text-xs text-muted-foreground"
8405
+ }, "\xa9 ", props.copyRights, " ", /* @__PURE__ */ new Date().getFullYear())), props.copyRights && !props.footerLinks && /* @__PURE__ */ React.createElement("div", {
8406
+ className: "text-xs text-muted-foreground"
8407
+ }, "\xa9 ", props.copyRights, " ", /* @__PURE__ */ new Date().getFullYear()), (_props_footerLinks = props.footerLinks) === null || _props_footerLinks === void 0 ? void 0 : _props_footerLinks.map(function(pagesSection) {
8387
8408
  return /* @__PURE__ */ React.createElement("div", {
8388
8409
  className: "flex w-32 flex-col gap-2"
8389
8410
  }, /* @__PURE__ */ React.createElement("div", {
@@ -8398,14 +8419,18 @@ var Footer = function(_param) {
8398
8419
  })));
8399
8420
  }), props.socialLinks && /* @__PURE__ */ React.createElement("div", {
8400
8421
  className: "flex flex-row gap-2"
8401
- }, props.socialLinks.twitter && /* @__PURE__ */ React.createElement("div", {
8402
- className: "flex h-6 w-6 items-center justify-center rounded bg-white"
8403
- }, /* @__PURE__ */ React.createElement(import_bs.BsTwitter, null)), props.socialLinks.instagram && /* @__PURE__ */ React.createElement("div", {
8404
- className: "flex h-6 w-6 items-center justify-center rounded bg-white"
8405
- }, /* @__PURE__ */ React.createElement(import_bs.BsInstagram, null)), props.socialLinks.tiktok && /* @__PURE__ */ React.createElement("div", {
8406
- className: "flex h-6 w-6 items-center justify-center rounded bg-white"
8407
- }, /* @__PURE__ */ React.createElement(import_fa2.FaTiktok, null)), props.socialLinks.snapchat && /* @__PURE__ */ React.createElement("div", {
8408
- className: "flex h-6 w-6 items-center justify-center rounded bg-white"
8422
+ }, props.socialLinks.twitter && /* @__PURE__ */ React.createElement(Button, {
8423
+ size: "smallIcon",
8424
+ variant: "ghost"
8425
+ }, /* @__PURE__ */ React.createElement(import_bs.BsTwitter, null)), props.socialLinks.instagram && /* @__PURE__ */ React.createElement(Button, {
8426
+ size: "smallIcon",
8427
+ variant: "ghost"
8428
+ }, /* @__PURE__ */ React.createElement(import_bs.BsInstagram, null)), props.socialLinks.tiktok && /* @__PURE__ */ React.createElement(Button, {
8429
+ size: "smallIcon",
8430
+ variant: "ghost"
8431
+ }, /* @__PURE__ */ React.createElement(import_fa2.FaTiktok, null)), props.socialLinks.snapchat && /* @__PURE__ */ React.createElement(Button, {
8432
+ size: "smallIcon",
8433
+ variant: "ghost"
8409
8434
  }, /* @__PURE__ */ React.createElement(import_fa2.FaSnapchatGhost, null))));
8410
8435
  };
8411
8436
  // src/layout/Banner.tsx
@@ -8782,13 +8807,12 @@ var AppLanding = function(props) {
8782
8807
  variant: "outline"
8783
8808
  }, /* @__PURE__ */ import_react71.default.createElement(Icons.mail, {
8784
8809
  className: "h-4 w-4"
8785
- }), "Continue With Email"), /* @__PURE__ */ import_react71.default.createElement("a", {
8786
- href: "#",
8787
- className: "text-center text-sm"
8788
- }, "Don't have an account?", " ", /* @__PURE__ */ import_react71.default.createElement("a", {
8789
- href: "#",
8810
+ }), "Continue With Email"), !props.withoutSignUp && /* @__PURE__ */ import_react71.default.createElement("div", {
8811
+ className: "p-3 text-center text-sm font-normal dark:text-gray-300"
8812
+ }, props.texts.newUserText, " ", /* @__PURE__ */ import_react71.default.createElement("span", {
8813
+ onClick: props.handleRouteToSignUp,
8790
8814
  className: "clickable-link"
8791
- }, "Sign Up")))), /* @__PURE__ */ import_react71.default.createElement("div", {
8815
+ }, props.texts.createAccount)))), /* @__PURE__ */ import_react71.default.createElement("div", {
8792
8816
  className: "mt-6 flex flex-row justify-between"
8793
8817
  }, /* @__PURE__ */ import_react71.default.createElement(HawaRadio, {
8794
8818
  onChangeTab: props.handleLanguage,
@@ -8985,7 +9009,7 @@ var SignInForm = function(props) {
8985
9009
  className: "mt-4 w-full",
8986
9010
  isLoading: props.isLoading
8987
9011
  }, props.texts.signInText), !props.withoutSignUp && /* @__PURE__ */ import_react73.default.createElement("div", {
8988
- className: "p-3 text-center text-sm font-semibold dark:text-gray-300"
9012
+ className: "p-3 text-center text-sm font-normal dark:text-gray-300"
8989
9013
  }, props.texts.newUserText, " ", /* @__PURE__ */ import_react73.default.createElement("span", {
8990
9014
  onClick: props.handleRouteToSignUp,
8991
9015
  className: "clickable-link"
@@ -9285,7 +9309,7 @@ var SignUpForm = function(props) {
9285
9309
  className: "w-full",
9286
9310
  isLoading: props.isLoading
9287
9311
  }, props.texts.signUpText))), /* @__PURE__ */ import_react74.default.createElement("div", {
9288
- className: "flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-semibold dark:text-white"
9312
+ className: "flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-normal dark:text-white"
9289
9313
  }, /* @__PURE__ */ import_react74.default.createElement("span", null, props.texts.existingUserText), /* @__PURE__ */ import_react74.default.createElement("span", {
9290
9314
  onClick: props.handleRouteToSignIn,
9291
9315
  className: "clickable-link"
@@ -9588,32 +9612,32 @@ var CreditCardForm = function(props) {
9588
9612
  var _errors_password;
9589
9613
  return /* @__PURE__ */ import_react79.default.createElement(HawaTextField, {
9590
9614
  width: "full",
9591
- name: "password",
9592
- placeholder: "Enter password",
9593
- type: "tel",
9615
+ name: "cardNumber",
9616
+ placeholder: "1234 1234 1234 1234",
9617
+ type: "number",
9594
9618
  label: "Card Number",
9595
9619
  helpertext: (_errors_password = errors.password) === null || _errors_password === void 0 ? void 0 : _errors_password.message
9596
9620
  });
9597
9621
  },
9598
9622
  rules: {
9599
- required: "Password is rquired"
9623
+ required: "Card Number is rquired"
9600
9624
  }
9601
9625
  }), /* @__PURE__ */ import_react79.default.createElement("div", {
9602
9626
  className: "w-1/4"
9603
9627
  }, /* @__PURE__ */ import_react79.default.createElement(import_react_hook_form7.Controller, {
9604
9628
  control: control,
9605
- name: "cardName",
9629
+ name: "cardCVC",
9606
9630
  render: function(param) {
9607
9631
  var field = param.field;
9608
9632
  var _errors_password;
9609
9633
  return /* @__PURE__ */ import_react79.default.createElement(HawaTextField, {
9610
9634
  width: "full",
9611
- name: "password",
9635
+ name: "cardCVC",
9612
9636
  maxLength: "3",
9613
9637
  autoComplete: "cc-number",
9614
- placeholder: "",
9615
- type: "password",
9616
- label: "CCV",
9638
+ placeholder: "CVC",
9639
+ type: "number",
9640
+ label: "CVC",
9617
9641
  helpertext: (_errors_password = errors.password) === null || _errors_password === void 0 ? void 0 : _errors_password.message
9618
9642
  });
9619
9643
  },
@@ -9622,16 +9646,16 @@ var CreditCardForm = function(props) {
9622
9646
  }
9623
9647
  }))), /* @__PURE__ */ import_react79.default.createElement(import_react_hook_form7.Controller, {
9624
9648
  control: control,
9625
- name: "cardName",
9649
+ name: "cardExpiry",
9626
9650
  render: function(param) {
9627
9651
  var field = param.field;
9628
9652
  var _errors_password;
9629
9653
  return /* @__PURE__ */ import_react79.default.createElement(HawaTextField, {
9630
9654
  width: "full",
9631
- name: "password",
9632
- placeholder: "Enter password",
9633
- type: "text",
9634
- label: "Name On Card",
9655
+ name: "cardExpiry",
9656
+ placeholder: "MM / YY",
9657
+ type: "password",
9658
+ label: "Expiry Date",
9635
9659
  helpertext: (_errors_password = errors.password) === null || _errors_password === void 0 ? void 0 : _errors_password.message
9636
9660
  });
9637
9661
  },
@@ -9646,15 +9670,14 @@ var CreditCardForm = function(props) {
9646
9670
  var _errors_password;
9647
9671
  return /* @__PURE__ */ import_react79.default.createElement(HawaTextField, {
9648
9672
  width: "full",
9649
- name: "password",
9650
- placeholder: "Enter password",
9651
- type: "password",
9652
- label: "Expiry Date",
9673
+ name: "cardName",
9674
+ type: "text",
9675
+ label: "Name on card",
9653
9676
  helpertext: (_errors_password = errors.password) === null || _errors_password === void 0 ? void 0 : _errors_password.message
9654
9677
  });
9655
9678
  },
9656
9679
  rules: {
9657
- required: "Password is rquired"
9680
+ required: "Card holder name is rquired"
9658
9681
  }
9659
9682
  })), /* @__PURE__ */ import_react79.default.createElement(CardFooter, null, /* @__PURE__ */ import_react79.default.createElement(Button, {
9660
9683
  className: "w-full",
package/dist/index.mjs CHANGED
@@ -1042,6 +1042,7 @@ DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1042
1042
  var DropdownMenuItem = React19.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React19.createElement(
1043
1043
  DropdownMenuPrimitive.Item,
1044
1044
  {
1045
+ disabled: props.disabled,
1045
1046
  ref,
1046
1047
  className: cn(
1047
1048
  "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",
@@ -1178,6 +1179,7 @@ var DropdownMenu = ({
1178
1179
  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(
1179
1180
  DropdownMenuItem,
1180
1181
  {
1182
+ disabled: subitem.disabled,
1181
1183
  className: "flex flex-row gap-2",
1182
1184
  onSelect: () => subitem.action(),
1183
1185
  key: subIndex
@@ -1187,6 +1189,7 @@ var DropdownMenu = ({
1187
1189
  ))))) : /* @__PURE__ */ React19.createElement(
1188
1190
  DropdownMenuItem,
1189
1191
  {
1192
+ disabled: item.disabled,
1190
1193
  className: "flex flex-row gap-2",
1191
1194
  key: index,
1192
1195
  onSelect: (e) => {
@@ -6486,7 +6489,7 @@ var useCarousel_default = useCarousel;
6486
6489
 
6487
6490
  // src/elements/Carousel.tsx
6488
6491
  var Carousel = ({ images }) => {
6489
- const imageWidth = 240 + 16;
6492
+ const imageWidth = 1e3 + 16;
6490
6493
  const {
6491
6494
  containerRef,
6492
6495
  handleMouseDown,
@@ -6497,18 +6500,19 @@ var Carousel = ({ images }) => {
6497
6500
  return /* @__PURE__ */ React59.createElement(
6498
6501
  "div",
6499
6502
  {
6500
- className: "flex cursor-pointer snap-x gap-4 overflow-x-scroll",
6503
+ className: "flex cursor-pointer snap-x gap-4 overflow-x-hidden justify-center items-center",
6501
6504
  onMouseDown: handleMouseDown,
6502
6505
  onMouseLeave: handleMouseLeave,
6503
6506
  onMouseUp: handleMouseUp,
6504
6507
  onMouseMove: handleMouseMove,
6505
6508
  ref: containerRef
6506
6509
  },
6507
- images.map((image, index) => /* @__PURE__ */ React59.createElement("div", { key: index, className: "h-40 w-60 flex-shrink-0" }, /* @__PURE__ */ React59.createElement(
6510
+ images.map((image, index) => /* @__PURE__ */ React59.createElement("div", { key: index, className: "w-[1000px] h-96 flex-shrink-0" }, /* @__PURE__ */ React59.createElement(
6508
6511
  "img",
6509
6512
  {
6510
6513
  src: image,
6511
6514
  alt: `Carousel Image ${index}`,
6515
+ width: imageWidth,
6512
6516
  className: "h-full w-full rounded-lg object-cover"
6513
6517
  }
6514
6518
  )))
@@ -8697,15 +8701,34 @@ var AppSidebar = ({ isOpen, onClose, items }) => {
8697
8701
  // src/layout/Footer.tsx
8698
8702
  import { BsInstagram, BsTwitter } from "react-icons/bs";
8699
8703
  import { FaSnapchatGhost, FaTiktok } from "react-icons/fa";
8700
- var Footer = ({ ...props }) => {
8701
- return /* @__PURE__ */ React.createElement("div", { className: "sticky bottom-0 left-0 flex w-full flex-row gap-8 bg-blue-200 p-4" }, props.logoText && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { className: "text-2xl font-bold" }, props.logoText)), props.footerLinks?.map((pagesSection) => /* @__PURE__ */ React.createElement("div", { className: "flex w-32 flex-col gap-2" }, /* @__PURE__ */ React.createElement("div", { className: "text-lg font-bold" }, pagesSection.title), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-1" }, pagesSection.pages.map((singlePage) => /* @__PURE__ */ React.createElement(
8702
- "a",
8704
+ var Footer = ({
8705
+ variation = "default",
8706
+ ...props
8707
+ }) => {
8708
+ let variationStyles = {
8709
+ default: "rounded border",
8710
+ minimal: "border-t"
8711
+ };
8712
+ return /* @__PURE__ */ React.createElement(
8713
+ "div",
8703
8714
  {
8704
- className: "transition-all hover:font-bold",
8705
- href: singlePage.link
8715
+ className: cn(
8716
+ "flex w-full flex-row items-center justify-between gap-8 rounded bg-background p-4",
8717
+ variationStyles[variation]
8718
+ )
8706
8719
  },
8707
- singlePage.label
8708
- ))))), props.socialLinks && /* @__PURE__ */ React.createElement("div", { className: "flex flex-row gap-2" }, props.socialLinks.twitter && /* @__PURE__ */ React.createElement("div", { className: "flex h-6 w-6 items-center justify-center rounded bg-white" }, /* @__PURE__ */ React.createElement(BsTwitter, null)), props.socialLinks.instagram && /* @__PURE__ */ React.createElement("div", { className: "flex h-6 w-6 items-center justify-center rounded bg-white" }, /* @__PURE__ */ React.createElement(BsInstagram, null)), props.socialLinks.tiktok && /* @__PURE__ */ React.createElement("div", { className: "flex h-6 w-6 items-center justify-center rounded bg-white" }, /* @__PURE__ */ React.createElement(FaTiktok, null)), props.socialLinks.snapchat && /* @__PURE__ */ React.createElement("div", { className: "flex h-6 w-6 items-center justify-center rounded bg-white" }, /* @__PURE__ */ React.createElement(FaSnapchatGhost, null))));
8720
+ /* @__PURE__ */ React.createElement("div", { className: "flex flex-col items-center gap-2" }, /* @__PURE__ */ React.createElement("div", { className: "flex flex-row items-center gap-2" }, props.logoURL && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("img", { className: "h-8", src: props.logoURL })), props.logoText && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { className: "text-2xl font-bold text-primary" }, props.logoText))), props.copyRights && props.footerLinks && /* @__PURE__ */ React.createElement("div", { className: "text-xs text-muted-foreground" }, "\xA9 ", props.copyRights, " ", (/* @__PURE__ */ new Date()).getFullYear())),
8721
+ props.copyRights && !props.footerLinks && /* @__PURE__ */ React.createElement("div", { className: "text-xs text-muted-foreground" }, "\xA9 ", props.copyRights, " ", (/* @__PURE__ */ new Date()).getFullYear()),
8722
+ props.footerLinks?.map((pagesSection) => /* @__PURE__ */ React.createElement("div", { className: "flex w-32 flex-col gap-2" }, /* @__PURE__ */ React.createElement("div", { className: "text-lg font-bold" }, pagesSection.title), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-1" }, pagesSection.pages.map((singlePage) => /* @__PURE__ */ React.createElement(
8723
+ "a",
8724
+ {
8725
+ className: "transition-all hover:font-bold",
8726
+ href: singlePage.link
8727
+ },
8728
+ singlePage.label
8729
+ ))))),
8730
+ props.socialLinks && /* @__PURE__ */ React.createElement("div", { className: "flex flex-row gap-2" }, props.socialLinks.twitter && /* @__PURE__ */ React.createElement(Button, { size: "smallIcon", variant: "ghost" }, /* @__PURE__ */ React.createElement(BsTwitter, null)), props.socialLinks.instagram && /* @__PURE__ */ React.createElement(Button, { size: "smallIcon", variant: "ghost" }, /* @__PURE__ */ React.createElement(BsInstagram, null)), props.socialLinks.tiktok && /* @__PURE__ */ React.createElement(Button, { size: "smallIcon", variant: "ghost" }, /* @__PURE__ */ React.createElement(FaTiktok, null)), props.socialLinks.snapchat && /* @__PURE__ */ React.createElement(Button, { size: "smallIcon", variant: "ghost" }, /* @__PURE__ */ React.createElement(FaSnapchatGhost, null)))
8731
+ );
8709
8732
  };
8710
8733
 
8711
8734
  // src/layout/Banner.tsx
@@ -9105,7 +9128,14 @@ var AppLanding = (props) => {
9105
9128
  },
9106
9129
  /* @__PURE__ */ React85.createElement(Icons.mail, { className: "h-4 w-4" }),
9107
9130
  "Continue With Email"
9108
- ), /* @__PURE__ */ React85.createElement("a", { href: "#", className: "text-center text-sm" }, "Don't have an account?", " ", /* @__PURE__ */ React85.createElement("a", { href: "#", className: "clickable-link" }, "Sign Up")))), /* @__PURE__ */ React85.createElement("div", { className: "mt-6 flex flex-row justify-between" }, /* @__PURE__ */ React85.createElement(
9131
+ ), !props.withoutSignUp && /* @__PURE__ */ React85.createElement("div", { className: "p-3 text-center text-sm font-normal dark:text-gray-300" }, props.texts.newUserText, " ", /* @__PURE__ */ React85.createElement(
9132
+ "span",
9133
+ {
9134
+ onClick: props.handleRouteToSignUp,
9135
+ className: "clickable-link"
9136
+ },
9137
+ props.texts.createAccount
9138
+ )))), /* @__PURE__ */ React85.createElement("div", { className: "mt-6 flex flex-row justify-between" }, /* @__PURE__ */ React85.createElement(
9109
9139
  HawaRadio,
9110
9140
  {
9111
9141
  onChangeTab: props.handleLanguage,
@@ -9315,7 +9345,7 @@ var SignInForm = (props) => {
9315
9345
  className: "mb-3 w-fit cursor-pointer text-xs dark:text-gray-300"
9316
9346
  },
9317
9347
  props.texts.forgotPasswordText
9318
- )), /* @__PURE__ */ React87.createElement(Button, { className: "mt-4 w-full", isLoading: props.isLoading }, props.texts.signInText), !props.withoutSignUp && /* @__PURE__ */ React87.createElement("div", { className: "p-3 text-center text-sm font-semibold dark:text-gray-300" }, props.texts.newUserText, " ", /* @__PURE__ */ React87.createElement(
9348
+ )), /* @__PURE__ */ React87.createElement(Button, { className: "mt-4 w-full", isLoading: props.isLoading }, props.texts.signInText), !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(
9319
9349
  "span",
9320
9350
  {
9321
9351
  onClick: props.handleRouteToSignUp,
@@ -9593,7 +9623,7 @@ var SignUpForm = (props) => {
9593
9623
  }
9594
9624
  )
9595
9625
  }
9596
- ), /* @__PURE__ */ React88.createElement(Button, { className: "w-full", isLoading: props.isLoading }, props.texts.signUpText))), /* @__PURE__ */ React88.createElement("div", { className: "flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-semibold dark:text-white" }, /* @__PURE__ */ React88.createElement("span", null, props.texts.existingUserText), /* @__PURE__ */ React88.createElement(
9626
+ ), /* @__PURE__ */ React88.createElement(Button, { className: "w-full", isLoading: props.isLoading }, props.texts.signUpText))), /* @__PURE__ */ React88.createElement("div", { className: "flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-normal dark:text-white" }, /* @__PURE__ */ React88.createElement("span", null, props.texts.existingUserText), /* @__PURE__ */ React88.createElement(
9597
9627
  "span",
9598
9628
  {
9599
9629
  onClick: props.handleRouteToSignIn,
@@ -9973,32 +10003,32 @@ var CreditCardForm = (props) => {
9973
10003
  HawaTextField,
9974
10004
  {
9975
10005
  width: "full",
9976
- name: "password",
9977
- placeholder: "Enter password",
9978
- type: "tel",
10006
+ name: "cardNumber",
10007
+ placeholder: "1234 1234 1234 1234",
10008
+ type: "number",
9979
10009
  label: "Card Number",
9980
10010
  helpertext: errors.password?.message
9981
10011
  }
9982
10012
  ),
9983
10013
  rules: {
9984
- required: "Password is rquired"
10014
+ required: "Card Number is rquired"
9985
10015
  }
9986
10016
  }
9987
10017
  ), /* @__PURE__ */ React93.createElement("div", { className: "w-1/4" }, /* @__PURE__ */ React93.createElement(
9988
10018
  Controller7,
9989
10019
  {
9990
10020
  control,
9991
- name: "cardName",
10021
+ name: "cardCVC",
9992
10022
  render: ({ field }) => /* @__PURE__ */ React93.createElement(
9993
10023
  HawaTextField,
9994
10024
  {
9995
10025
  width: "full",
9996
- name: "password",
10026
+ name: "cardCVC",
9997
10027
  maxLength: "3",
9998
10028
  autoComplete: "cc-number",
9999
- placeholder: "",
10000
- type: "password",
10001
- label: "CCV",
10029
+ placeholder: "CVC",
10030
+ type: "number",
10031
+ label: "CVC",
10002
10032
  helpertext: errors.password?.message
10003
10033
  }
10004
10034
  ),
@@ -10010,15 +10040,15 @@ var CreditCardForm = (props) => {
10010
10040
  Controller7,
10011
10041
  {
10012
10042
  control,
10013
- name: "cardName",
10043
+ name: "cardExpiry",
10014
10044
  render: ({ field }) => /* @__PURE__ */ React93.createElement(
10015
10045
  HawaTextField,
10016
10046
  {
10017
10047
  width: "full",
10018
- name: "password",
10019
- placeholder: "Enter password",
10020
- type: "text",
10021
- label: "Name On Card",
10048
+ name: "cardExpiry",
10049
+ placeholder: "MM / YY",
10050
+ type: "password",
10051
+ label: "Expiry Date",
10022
10052
  helpertext: errors.password?.message
10023
10053
  }
10024
10054
  ),
@@ -10035,15 +10065,14 @@ var CreditCardForm = (props) => {
10035
10065
  HawaTextField,
10036
10066
  {
10037
10067
  width: "full",
10038
- name: "password",
10039
- placeholder: "Enter password",
10040
- type: "password",
10041
- label: "Expiry Date",
10068
+ name: "cardName",
10069
+ type: "text",
10070
+ label: "Name on card",
10042
10071
  helpertext: errors.password?.message
10043
10072
  }
10044
10073
  ),
10045
10074
  rules: {
10046
- required: "Password is rquired"
10075
+ required: "Card holder name is rquired"
10047
10076
  }
10048
10077
  }
10049
10078
  )), /* @__PURE__ */ React93.createElement(CardFooter, null, /* @__PURE__ */ React93.createElement(Button, { className: "w-full", onClick: props.handlePayWithCreditCard }, "Pay with Credit Card"))));