@sikka/hawa 0.37.2-next → 0.38.0-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/{Radio-y9uhxitu.d.ts → Radio-lgoClQrv.d.ts} +2 -2
  2. package/dist/{Radio-BCD7k628.d.mts → Radio-uQ7DtzcI.d.mts} +2 -2
  3. package/dist/alert/index.js.map +1 -1
  4. package/dist/alert/index.mjs.map +1 -1
  5. package/dist/appLayout/index.js.map +1 -1
  6. package/dist/appLayout/index.mjs.map +1 -1
  7. package/dist/backToTop/index.js.map +1 -1
  8. package/dist/backToTop/index.mjs.map +1 -1
  9. package/dist/blocks/auth/index.d.mts +1 -0
  10. package/dist/blocks/auth/index.d.ts +1 -0
  11. package/dist/blocks/auth/index.js +207 -123
  12. package/dist/blocks/auth/index.mjs +204 -101
  13. package/dist/blocks/feedback/index.js +4 -40
  14. package/dist/blocks/feedback/index.mjs +5 -5
  15. package/dist/blocks/index.d.mts +2 -1
  16. package/dist/blocks/index.d.ts +2 -1
  17. package/dist/blocks/index.js +457 -400
  18. package/dist/blocks/index.mjs +10 -8
  19. package/dist/blocks/misc/index.js +5 -32
  20. package/dist/blocks/misc/index.mjs +5 -5
  21. package/dist/blocks/pricing/index.js +4 -22
  22. package/dist/blocks/pricing/index.mjs +4 -4
  23. package/dist/button/index.js.map +1 -1
  24. package/dist/button/index.mjs.map +1 -1
  25. package/dist/calendar/index.js.map +1 -1
  26. package/dist/calendar/index.mjs.map +1 -1
  27. package/dist/checkbox/index.d.mts +1 -1
  28. package/dist/checkbox/index.d.ts +1 -1
  29. package/dist/checkbox/index.js.map +1 -1
  30. package/dist/checkbox/index.mjs.map +1 -1
  31. package/dist/{chunk-BPHQFAWM.mjs → chunk-4EZL2A64.mjs} +3 -11
  32. package/dist/{chunk-DS3AACQJ.mjs → chunk-E6C3LDHD.mjs} +1 -1
  33. package/dist/{chunk-ODOCZAWC.mjs → chunk-E77TUADR.mjs} +1 -1
  34. package/dist/{chunk-QXH7ZDMN.mjs → chunk-IA5FLRFL.mjs} +3 -11
  35. package/dist/{chunk-ZTUWU652.mjs → chunk-JJMRBD3S.mjs} +3 -3
  36. package/dist/{chunk-RNFJAEEU.mjs → chunk-LDJD5ITW.mjs} +1 -0
  37. package/dist/{chunk-QYWOI3DO.mjs → chunk-MHSSZ6XE.mjs} +204 -144
  38. package/dist/{chunk-BTDR3VAG.mjs → chunk-Q3HJI7ZE.mjs} +4 -21
  39. package/dist/{chunk-MDHDHEPZ.mjs → chunk-TMUQCNLO.mjs} +3 -11
  40. package/dist/{chunk-PXGL7ZXQ.mjs → chunk-V4SUYEVH.mjs} +1 -0
  41. package/dist/codeBlock/index.js.map +1 -1
  42. package/dist/codeBlock/index.mjs.map +1 -1
  43. package/dist/colorPicker/index.d.mts +1 -1
  44. package/dist/colorPicker/index.d.ts +1 -1
  45. package/dist/colorPicker/index.js +35 -31
  46. package/dist/colorPicker/index.js.map +1 -1
  47. package/dist/colorPicker/index.mjs +33 -29
  48. package/dist/colorPicker/index.mjs.map +1 -1
  49. package/dist/combobox/index.d.mts +1 -1
  50. package/dist/combobox/index.d.ts +1 -1
  51. package/dist/combobox/index.js +52 -48
  52. package/dist/combobox/index.js.map +1 -1
  53. package/dist/combobox/index.mjs +52 -48
  54. package/dist/combobox/index.mjs.map +1 -1
  55. package/dist/dataTable/index.js +1 -10
  56. package/dist/dataTable/index.js.map +1 -1
  57. package/dist/dataTable/index.mjs +1 -10
  58. package/dist/dataTable/index.mjs.map +1 -1
  59. package/dist/datePicker/index.js.map +1 -1
  60. package/dist/datePicker/index.mjs.map +1 -1
  61. package/dist/docsLayout/index.js.map +1 -1
  62. package/dist/docsLayout/index.mjs.map +1 -1
  63. package/dist/elements/index.d.mts +42 -21
  64. package/dist/elements/index.d.ts +42 -21
  65. package/dist/elements/index.js +335 -290
  66. package/dist/elements/index.mjs +14 -23
  67. package/dist/fileDropzone/index.js.map +1 -1
  68. package/dist/fileDropzone/index.mjs.map +1 -1
  69. package/dist/index.css +29 -3
  70. package/dist/index.d.mts +44 -22
  71. package/dist/index.d.ts +44 -22
  72. package/dist/index.js +764 -717
  73. package/dist/index.mjs +287 -244
  74. package/dist/input/index.d.mts +1 -1
  75. package/dist/input/index.d.ts +1 -1
  76. package/dist/input/index.js +46 -42
  77. package/dist/input/index.js.map +1 -1
  78. package/dist/input/index.mjs +45 -41
  79. package/dist/input/index.mjs.map +1 -1
  80. package/dist/interfaceSettings/index.js +64 -69
  81. package/dist/interfaceSettings/index.js.map +1 -1
  82. package/dist/interfaceSettings/index.mjs +57 -62
  83. package/dist/interfaceSettings/index.mjs.map +1 -1
  84. package/dist/layout/index.d.mts +1 -1
  85. package/dist/layout/index.d.ts +1 -1
  86. package/dist/layout/index.mjs +2 -2
  87. package/dist/passwordInput/index.js +70 -66
  88. package/dist/passwordInput/index.js.map +1 -1
  89. package/dist/passwordInput/index.mjs +59 -55
  90. package/dist/passwordInput/index.mjs.map +1 -1
  91. package/dist/phoneInput/index.js +50 -55
  92. package/dist/phoneInput/index.js.map +1 -1
  93. package/dist/phoneInput/index.mjs +47 -52
  94. package/dist/phoneInput/index.mjs.map +1 -1
  95. package/dist/pinInput/index.d.mts +37 -16
  96. package/dist/pinInput/index.d.ts +37 -16
  97. package/dist/pinInput/index.js +208 -78
  98. package/dist/pinInput/index.js.map +1 -1
  99. package/dist/pinInput/index.mjs +203 -77
  100. package/dist/pinInput/index.mjs.map +1 -1
  101. package/dist/radio/index.d.mts +1 -1
  102. package/dist/radio/index.d.ts +1 -1
  103. package/dist/radio/index.js +55 -60
  104. package/dist/radio/index.js.map +1 -1
  105. package/dist/radio/index.mjs +50 -55
  106. package/dist/radio/index.mjs.map +1 -1
  107. package/dist/scrollArea/index.js +2 -2
  108. package/dist/scrollArea/index.js.map +1 -1
  109. package/dist/scrollArea/index.mjs +2 -2
  110. package/dist/scrollArea/index.mjs.map +1 -1
  111. package/dist/select/index.d.mts +1 -1
  112. package/dist/select/index.d.ts +1 -1
  113. package/dist/select/index.js +43 -39
  114. package/dist/select/index.js.map +1 -1
  115. package/dist/select/index.mjs +43 -39
  116. package/dist/select/index.mjs.map +1 -1
  117. package/dist/signature/index.d.mts +1 -1
  118. package/dist/signature/index.d.ts +1 -1
  119. package/dist/signature/index.js.map +1 -1
  120. package/dist/signature/index.mjs.map +1 -1
  121. package/dist/sortButton/index.js.map +1 -1
  122. package/dist/sortButton/index.mjs.map +1 -1
  123. package/dist/splitButton/index.js.map +1 -1
  124. package/dist/splitButton/index.mjs.map +1 -1
  125. package/dist/stats/index.d.mts +1 -1
  126. package/dist/stats/index.d.ts +1 -1
  127. package/dist/stats/index.js.map +1 -1
  128. package/dist/stats/index.mjs.map +1 -1
  129. package/dist/tabs/index.js +2 -2
  130. package/dist/tabs/index.js.map +1 -1
  131. package/dist/tabs/index.mjs +2 -2
  132. package/dist/tabs/index.mjs.map +1 -1
  133. package/dist/textarea/index.d.mts +1 -1
  134. package/dist/textarea/index.d.ts +1 -1
  135. package/dist/textarea/index.js +34 -30
  136. package/dist/textarea/index.js.map +1 -1
  137. package/dist/textarea/index.mjs +34 -30
  138. package/dist/textarea/index.mjs.map +1 -1
  139. package/package.json +2 -1
@@ -122,6 +122,10 @@ __export(elements_exports, {
122
122
  PhoneInput: () => PhoneInput,
123
123
  PhoneMockup: () => PhoneMockup,
124
124
  PinInput: () => PinInput,
125
+ PinInputGroup: () => PinInputGroup,
126
+ PinInputRoot: () => PinInputRoot,
127
+ PinInputSeperator: () => PinInputSeperator,
128
+ PinInputSlot: () => PinInputSlot,
125
129
  Popover: () => Popover,
126
130
  PopoverContent: () => PopoverContent,
127
131
  PopoverPortal: () => PopoverPortal,
@@ -2702,16 +2706,7 @@ var Input = (0, import_react11.forwardRef)(
2702
2706
  inputProps == null ? void 0 : inputProps.className
2703
2707
  )
2704
2708
  }
2705
- )), !forceHideHelperText && /* @__PURE__ */ import_react11.default.createElement(
2706
- "p",
2707
- {
2708
- className: cn(
2709
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
2710
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
2711
- )
2712
- },
2713
- props.helperText
2714
- ), !props.disabled && forceHideHelperText && /* @__PURE__ */ import_react11.default.createElement(
2709
+ )), !forceHideHelperText && /* @__PURE__ */ import_react11.default.createElement(HelperText, { helperText: props.helperText }), !props.disabled && forceHideHelperText && /* @__PURE__ */ import_react11.default.createElement(
2715
2710
  "div",
2716
2711
  {
2717
2712
  className: cn(
@@ -3526,16 +3521,7 @@ var Radio = (0, import_react13.forwardRef)(
3526
3521
  opt.label
3527
3522
  );
3528
3523
  })
3529
- ), !forceHideHelperText && /* @__PURE__ */ import_react13.default.createElement(
3530
- "p",
3531
- {
3532
- className: cn(
3533
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
3534
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
3535
- )
3536
- },
3537
- props.helperText
3538
- ));
3524
+ ), !forceHideHelperText && /* @__PURE__ */ import_react13.default.createElement(HelperText, { helperText: props.helperText }));
3539
3525
  case "bordered":
3540
3526
  return /* @__PURE__ */ import_react13.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react13.default.createElement("div", { key: i, className: "hawa-w-full hawa-rounded hawa-border" }, /* @__PURE__ */ import_react13.default.createElement(
3541
3527
  "div",
@@ -3624,16 +3610,7 @@ var Radio = (0, import_react13.forwardRef)(
3624
3610
  },
3625
3611
  opt.label
3626
3612
  )
3627
- ))), /* @__PURE__ */ import_react13.default.createElement(
3628
- "p",
3629
- {
3630
- className: cn(
3631
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
3632
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
3633
- )
3634
- },
3635
- props.helperText
3636
- ));
3613
+ ))), /* @__PURE__ */ import_react13.default.createElement(HelperText, { helperText: props.helperText }));
3637
3614
  }
3638
3615
  }
3639
3616
  );
@@ -3903,16 +3880,7 @@ var Combobox = React28.forwardRef(
3903
3880
  },
3904
3881
  /* @__PURE__ */ React28.createElement("path", { d: "m6 9 6 6 6-6" })
3905
3882
  )
3906
- ), /* @__PURE__ */ React28.createElement(
3907
- "p",
3908
- {
3909
- className: cn(
3910
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
3911
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
3912
- )
3913
- },
3914
- props.helperText
3915
- ))), /* @__PURE__ */ React28.createElement(
3883
+ ), /* @__PURE__ */ React28.createElement(HelperText, { helperText: props.helperText }))), /* @__PURE__ */ React28.createElement(
3916
3884
  PopoverContent,
3917
3885
  {
3918
3886
  sideOffset: 0,
@@ -4036,16 +4004,7 @@ var Textarea = React29.forwardRef(
4036
4004
  ref
4037
4005
  }
4038
4006
  ),
4039
- /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React29.createElement(
4040
- "p",
4041
- {
4042
- className: cn(
4043
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
4044
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
4045
- )
4046
- },
4047
- props.helperText
4048
- ), showCount && countPosition === "bottom" && /* @__PURE__ */ React29.createElement("div", { className: "hawa-text-start hawa-text-xs hawa-transition-all" }, (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0, "/", textareaProps == null ? void 0 : textareaProps.maxLength))
4007
+ /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, !forceHideHelperText && /* @__PURE__ */ React29.createElement(HelperText, { helperText: props.helperText }), showCount && countPosition === "bottom" && /* @__PURE__ */ React29.createElement("div", { className: "hawa-text-start hawa-text-xs hawa-transition-all" }, (textareaProps == null ? void 0 : textareaProps.value) ? String(textareaProps == null ? void 0 : textareaProps.value).length : 0, "/", textareaProps == null ? void 0 : textareaProps.maxLength))
4049
4008
  );
4050
4009
  }
4051
4010
  );
@@ -4549,7 +4508,7 @@ var ScrollArea = React41.forwardRef(({ className, children, orientation = "verti
4549
4508
  "div",
4550
4509
  {
4551
4510
  className: cn(
4552
- "hawa-pointer-events-none hawa-absolute hawa-bg-background/ hawa-h-full hawa-w-[50px] hawa-z-10 hawa-start-0 hawa-mask-fade-right",
4511
+ "hawa-pointer-events-none hawa-absolute hawa-bg-background hawa-h-full hawa-w-[50px] hawa-z-10 hawa-start-0 hawa-mask-fade-right",
4553
4512
  showLeftFade ? "hawa-block" : "hawa-hidden"
4554
4513
  )
4555
4514
  }
@@ -4558,7 +4517,7 @@ var ScrollArea = React41.forwardRef(({ className, children, orientation = "verti
4558
4517
  "div",
4559
4518
  {
4560
4519
  className: cn(
4561
- "hawa-pointer-events-none hawa-absolute hawa-bg-background/ hawa-mask-fade-left hawa-end-0 hawa-h-full hawa-w-[50px] hawa-z-10 ",
4520
+ "hawa-pointer-events-none hawa-absolute hawa-bg-background hawa-mask-fade-left hawa-end-0 hawa-h-full hawa-w-[50px] hawa-z-10 ",
4562
4521
  showRightFade ? "hawa-block" : "hawa-hidden"
4563
4522
  )
4564
4523
  }
@@ -4938,16 +4897,7 @@ var Select = ({
4938
4897
  onInputChange: (newValue, action) => props.onInputChange(newValue, action)
4939
4898
  }
4940
4899
  ),
4941
- !props.hideHelperText && /* @__PURE__ */ import_react33.default.createElement(
4942
- "p",
4943
- {
4944
- className: cn(
4945
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
4946
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
4947
- )
4948
- },
4949
- props.helperText
4950
- )
4900
+ !props.hideHelperText && /* @__PURE__ */ import_react33.default.createElement(HelperText, { helperText: props.helperText })
4951
4901
  );
4952
4902
  };
4953
4903
 
@@ -7088,112 +7038,162 @@ var PhoneInput = ({
7088
7038
  ),
7089
7039
  ...inputProps
7090
7040
  }
7091
- ))), /* @__PURE__ */ import_react37.default.createElement(
7092
- "p",
7093
- {
7094
- className: cn(
7095
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
7096
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
7097
- )
7098
- },
7099
- props.helperText
7100
- ));
7041
+ ))), /* @__PURE__ */ import_react37.default.createElement(HelperText, { helperText: props.helperText }));
7101
7042
  };
7102
7043
 
7103
7044
  // elements/pinInput/PinInput.tsx
7104
- var import_react38 = __toESM(require("react"));
7105
- var PinInput = ({
7106
- label,
7107
- icon,
7108
- digits,
7109
- width = "normal",
7110
- getPins,
7111
- inputProps,
7112
- ...props
7113
- }) => {
7114
- const [pin, setPin] = (0, import_react38.useState)(Array.from(Array(digits)));
7115
- const handleKeyDown = (e, index) => {
7116
- let backTo = 0;
7117
- if (e.key === "Backspace") {
7118
- e.target.value.length === 0 ? backTo = index - 1 : backTo = index;
7119
- const previousInput = document.getElementById(`input-${backTo}`);
7120
- previousInput == null ? void 0 : previousInput.focus();
7121
- }
7122
- };
7123
- (0, import_react38.useEffect)(() => {
7124
- let unfilled = pin.includes(void 0);
7125
- if (!unfilled && getPins) {
7126
- getPins(pin);
7127
- }
7128
- });
7129
- const handleChange = (e, index) => {
7130
- if (!/^\d*$/.test(e.target.value)) {
7131
- const newPin = [...pin];
7132
- newPin[index] = "";
7133
- setPin(newPin);
7134
- return;
7135
- } else {
7136
- const newPin = [...pin];
7137
- newPin[index] = e.target.value;
7138
- setPin(newPin);
7139
- if (e.target.value.length === 1) {
7140
- const nextInput = document.getElementById(`input-${index + 1}`);
7141
- nextInput == null ? void 0 : nextInput.focus();
7142
- } else if (e.target.value.length === 0) {
7143
- const previousInput = document.getElementById(`input-${index - 1}`);
7144
- previousInput == null ? void 0 : previousInput.focus();
7145
- }
7146
- }
7147
- };
7148
- return /* @__PURE__ */ import_react38.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react38.default.createElement(
7149
- "div",
7150
- {
7151
- className: "hawa-flex hawa-w-full hawa-flex-row hawa-justify-center hawa-gap-2",
7152
- dir: "ltr"
7153
- },
7154
- pin.map((value, index) => /* @__PURE__ */ import_react38.default.createElement(
7155
- "input",
7045
+ var React51 = __toESM(require("react"));
7046
+ var import_input_otp = require("input-otp");
7047
+
7048
+ // ../../node_modules/.pnpm/lucide-react@0.379.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7049
+ var import_react39 = require("react");
7050
+
7051
+ // ../../node_modules/.pnpm/lucide-react@0.379.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7052
+ var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
7053
+ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
7054
+ return Boolean(className) && array.indexOf(className) === index;
7055
+ }).join(" ");
7056
+
7057
+ // ../../node_modules/.pnpm/lucide-react@0.379.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7058
+ var import_react38 = require("react");
7059
+
7060
+ // ../../node_modules/.pnpm/lucide-react@0.379.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7061
+ var defaultAttributes = {
7062
+ xmlns: "http://www.w3.org/2000/svg",
7063
+ width: 24,
7064
+ height: 24,
7065
+ viewBox: "0 0 24 24",
7066
+ fill: "none",
7067
+ stroke: "currentColor",
7068
+ strokeWidth: 2,
7069
+ strokeLinecap: "round",
7070
+ strokeLinejoin: "round"
7071
+ };
7072
+
7073
+ // ../../node_modules/.pnpm/lucide-react@0.379.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7074
+ var Icon = (0, import_react38.forwardRef)(
7075
+ ({
7076
+ color = "currentColor",
7077
+ size = 24,
7078
+ strokeWidth = 2,
7079
+ absoluteStrokeWidth,
7080
+ className = "",
7081
+ children,
7082
+ iconNode,
7083
+ ...rest
7084
+ }, ref) => {
7085
+ return (0, import_react38.createElement)(
7086
+ "svg",
7156
7087
  {
7157
- key: index,
7158
- type: "text",
7159
- maxLength: 1,
7160
- value,
7161
- inputMode: "numeric",
7162
- id: `input-${index}`,
7163
- pattern: "[0-9]*",
7164
- className: cn(
7165
- "hawa-h-10 hawa-rounded hawa-border hawa-bg-background hawa-text-center placeholder:hawa-text-muted-foreground",
7166
- width === "full" ? "hawa-w-full" : "hawa-w-10"
7167
- ),
7168
- onChange: (e) => handleChange(e, index),
7169
- onKeyDown: (e) => handleKeyDown(e, index),
7170
- onFocus: (e) => e.target.select(),
7171
- ...inputProps
7172
- }
7173
- ))
7174
- ), /* @__PURE__ */ import_react38.default.createElement(
7175
- "p",
7088
+ ref,
7089
+ ...defaultAttributes,
7090
+ width: size,
7091
+ height: size,
7092
+ stroke: color,
7093
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
7094
+ className: mergeClasses("lucide", className),
7095
+ ...rest
7096
+ },
7097
+ [
7098
+ ...iconNode.map(([tag, attrs]) => (0, import_react38.createElement)(tag, attrs)),
7099
+ ...Array.isArray(children) ? children : [children]
7100
+ ]
7101
+ );
7102
+ }
7103
+ );
7104
+
7105
+ // ../../node_modules/.pnpm/lucide-react@0.379.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7106
+ var createLucideIcon = (iconName, iconNode) => {
7107
+ const Component = (0, import_react39.forwardRef)(
7108
+ ({ className, ...props }, ref) => (0, import_react39.createElement)(Icon, {
7109
+ ref,
7110
+ iconNode,
7111
+ className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
7112
+ ...props
7113
+ })
7114
+ );
7115
+ Component.displayName = `${iconName}`;
7116
+ return Component;
7117
+ };
7118
+
7119
+ // ../../node_modules/.pnpm/lucide-react@0.379.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
7120
+ var Dot = createLucideIcon("Dot", [
7121
+ ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
7122
+ ]);
7123
+
7124
+ // elements/pinInput/PinInput.tsx
7125
+ var PinInputRoot = React51.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ React51.createElement(
7126
+ import_input_otp.OTPInput,
7127
+ {
7128
+ ref,
7129
+ containerClassName: cn(
7130
+ "hawa-flex hawa-items-center hawa-gap-2 has-[:disabled]:hawa-opacity-50",
7131
+ containerClassName
7132
+ ),
7133
+ className: cn("disabled:hawa-cursor-not-allowed", className),
7134
+ ...props
7135
+ }
7136
+ ));
7137
+ PinInputRoot.displayName = "PinInputRoot";
7138
+ var PinInputGroup = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React51.createElement(
7139
+ "div",
7140
+ {
7141
+ ref,
7142
+ className: cn("hawa-flex hawa-items-center", className),
7143
+ ...props
7144
+ }
7145
+ ));
7146
+ PinInputGroup.displayName = "PinInputGroup";
7147
+ var PinInputSlot = React51.forwardRef(({ index, className, ...props }, ref) => {
7148
+ const pinInputContext = React51.useContext(import_input_otp.OTPInputContext);
7149
+ const { char, hasFakeCaret, isActive } = pinInputContext.slots[index];
7150
+ return /* @__PURE__ */ React51.createElement(
7151
+ "div",
7176
7152
  {
7153
+ ref,
7177
7154
  className: cn(
7178
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
7179
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
7180
- )
7155
+ "hawa-border-input hawa-relative hawa-flex hawa-h-10 hawa-w-10 hawa-items-center hawa-justify-center hawa-border-y hawa-border-r hawa-text-sm hawa-transition-all first:hawa-rounded-l-md first:hawa-border-l last:hawa-rounded-r-md",
7156
+ isActive && "hawa-ring-ring hawa-ring-offset-background hawa-z-10 hawa-ring-2",
7157
+ className
7158
+ ),
7159
+ ...props
7181
7160
  },
7182
- props.helperText
7183
- ));
7161
+ char,
7162
+ hasFakeCaret && /* @__PURE__ */ React51.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-inset-0 hawa-flex hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React51.createElement("div", { className: "hawa-animate-caret-blink hawa-bg-foreground hawa-h-4 hawa-w-px hawa-duration-1000" }))
7163
+ );
7164
+ });
7165
+ PinInputSlot.displayName = "PinInputSlot";
7166
+ var PinInputSeperator = React51.forwardRef(({ ...props }, ref) => /* @__PURE__ */ React51.createElement("div", { ref, role: "separator", ...props }, /* @__PURE__ */ React51.createElement(Dot, null)));
7167
+ PinInputSeperator.displayName = "PinInputSeperator";
7168
+ var PinInput = ({
7169
+ separatorPosition = 0,
7170
+ ...props
7171
+ }) => {
7172
+ const maxLength = props.maxLength || 6;
7173
+ const clampedSeparatorPosition = Math.min(separatorPosition, maxLength);
7174
+ const firstGroupLength = clampedSeparatorPosition > 0 ? clampedSeparatorPosition : 0;
7175
+ const secondGroupLength = maxLength - firstGroupLength;
7176
+ return /* @__PURE__ */ React51.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React51.createElement(PinInputRoot, { ...props }, firstGroupLength > 0 && /* @__PURE__ */ React51.createElement(PinInputGroup, { className: "hawa-w-full" }, [...Array(firstGroupLength)].map((_, index) => /* @__PURE__ */ React51.createElement(PinInputSlot, { key: index, index, className: "hawa-w-full" }))), separatorPosition > 0 && separatorPosition < props.maxLength && /* @__PURE__ */ React51.createElement(PinInputSeperator, null), secondGroupLength > 0 && /* @__PURE__ */ React51.createElement(PinInputGroup, { className: "hawa-w-full" }, [...Array(secondGroupLength)].map((_, index) => /* @__PURE__ */ React51.createElement(
7177
+ PinInputSlot,
7178
+ {
7179
+ key: index + firstGroupLength,
7180
+ index: index + firstGroupLength,
7181
+ className: "hawa-w-full"
7182
+ }
7183
+ )))), /* @__PURE__ */ React51.createElement(HelperText, { helperText: props.helperText }));
7184
7184
  };
7185
7185
 
7186
7186
  // elements/stopPropagationWrapper/StopPropagationWrapper.tsx
7187
- var import_react39 = __toESM(require("react"));
7187
+ var import_react40 = __toESM(require("react"));
7188
7188
  var StopPropagationWrapper = (props) => {
7189
7189
  const handleClick = (e) => {
7190
7190
  e.stopPropagation();
7191
7191
  };
7192
- return /* @__PURE__ */ import_react39.default.createElement("div", { onClick: handleClick }, props.children);
7192
+ return /* @__PURE__ */ import_react40.default.createElement("div", { onClick: handleClick }, props.children);
7193
7193
  };
7194
7194
 
7195
7195
  // elements/colorPicker/ColorPicker.tsx
7196
- var import_react40 = __toESM(require("react"));
7196
+ var import_react41 = __toESM(require("react"));
7197
7197
  var ColorPicker = ({
7198
7198
  containerProps,
7199
7199
  colorPickerProps,
@@ -7204,8 +7204,8 @@ var ColorPicker = ({
7204
7204
  preview = false,
7205
7205
  ...props
7206
7206
  }) => {
7207
- const [selectedColor, setSelectedColor] = (0, import_react40.useState)(props.color);
7208
- (0, import_react40.useEffect)(() => {
7207
+ const [selectedColor, setSelectedColor] = (0, import_react41.useState)(props.color);
7208
+ (0, import_react41.useEffect)(() => {
7209
7209
  if (selectedColor && selectedColor[0] !== "#") {
7210
7210
  setSelectedColor(`#${selectedColor}`);
7211
7211
  }
@@ -7222,13 +7222,13 @@ var ColorPicker = ({
7222
7222
  props.handleChange(e);
7223
7223
  }
7224
7224
  };
7225
- return /* @__PURE__ */ import_react40.default.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react40.default.createElement(Label2, { ...labelProps }, props.label), isLoading ? /* @__PURE__ */ import_react40.default.createElement(Skeleton, { style: { height: 40, width: 148 } }) : /* @__PURE__ */ import_react40.default.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ import_react40.default.createElement(
7225
+ return /* @__PURE__ */ import_react41.default.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react41.default.createElement(Label2, { ...labelProps }, props.label), isLoading ? /* @__PURE__ */ import_react41.default.createElement(Skeleton, { style: { height: 40, width: 148 } }) : /* @__PURE__ */ import_react41.default.createElement("div", { dir: "ltr", className: "hawa-flex hawa-w-full hawa-flex-row" }, /* @__PURE__ */ import_react41.default.createElement(
7226
7226
  "div",
7227
7227
  {
7228
7228
  style: { height: 40, backgroundColor: selectedColor },
7229
7229
  className: "hawa-rounded-bl-lg hawa-rounded-tl-lg hawa-border"
7230
7230
  },
7231
- /* @__PURE__ */ import_react40.default.createElement(
7231
+ /* @__PURE__ */ import_react41.default.createElement(
7232
7232
  "input",
7233
7233
  {
7234
7234
  disabled: preview,
@@ -7247,7 +7247,7 @@ var ColorPicker = ({
7247
7247
  ...colorPickerProps
7248
7248
  }
7249
7249
  )
7250
- ), /* @__PURE__ */ import_react40.default.createElement("div", { className: "hawa-relative hawa-flex hawa-max-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react40.default.createElement(
7250
+ ), /* @__PURE__ */ import_react41.default.createElement("div", { className: "hawa-relative hawa-flex hawa-max-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react41.default.createElement(
7251
7251
  "input",
7252
7252
  {
7253
7253
  disabled: preview,
@@ -7266,20 +7266,11 @@ var ColorPicker = ({
7266
7266
  },
7267
7267
  ...textInputProps
7268
7268
  }
7269
- ))), !forceHideHelperText && /* @__PURE__ */ import_react40.default.createElement(
7270
- "p",
7271
- {
7272
- className: cn(
7273
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
7274
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
7275
- )
7276
- },
7277
- props.helperText
7278
- ));
7269
+ ))), !forceHideHelperText && /* @__PURE__ */ import_react41.default.createElement(HelperText, { helperText: props.helperText }));
7279
7270
  };
7280
7271
 
7281
7272
  // elements/progressCircle/ProgressCircle.tsx
7282
- var import_react41 = __toESM(require("react"));
7273
+ var import_react42 = __toESM(require("react"));
7283
7274
  var size2config = {
7284
7275
  xs: { radius: 15, strokeWidth: 3 },
7285
7276
  sm: { radius: 19, strokeWidth: 4 },
@@ -7296,7 +7287,7 @@ function getLimitedValue(input) {
7296
7287
  return input;
7297
7288
  }
7298
7289
  }
7299
- var ProgressCircle = import_react41.default.forwardRef((props, ref) => {
7290
+ var ProgressCircle = import_react42.default.forwardRef((props, ref) => {
7300
7291
  const {
7301
7292
  value: inputValue,
7302
7293
  size = "md",
@@ -7316,7 +7307,7 @@ var ProgressCircle = import_react41.default.forwardRef((props, ref) => {
7316
7307
  const circumference = normalizedRadius * 2 * Math.PI;
7317
7308
  const strokeDashoffset = value / 100 * circumference;
7318
7309
  const offset = circumference - strokeDashoffset;
7319
- return /* @__PURE__ */ import_react41.default.createElement(import_react41.default.Fragment, null, /* @__PURE__ */ import_react41.default.createElement(
7310
+ return /* @__PURE__ */ import_react42.default.createElement(import_react42.default.Fragment, null, /* @__PURE__ */ import_react42.default.createElement(
7320
7311
  "div",
7321
7312
  {
7322
7313
  ref,
@@ -7325,7 +7316,7 @@ var ProgressCircle = import_react41.default.forwardRef((props, ref) => {
7325
7316
  className
7326
7317
  )
7327
7318
  },
7328
- /* @__PURE__ */ import_react41.default.createElement(
7319
+ /* @__PURE__ */ import_react42.default.createElement(
7329
7320
  "svg",
7330
7321
  {
7331
7322
  width: radius * 2,
@@ -7333,7 +7324,7 @@ var ProgressCircle = import_react41.default.forwardRef((props, ref) => {
7333
7324
  viewBox: `0 0 ${radius * 2} ${radius * 2}`,
7334
7325
  className: "hawa-rotate-180 hawa-transform"
7335
7326
  },
7336
- /* @__PURE__ */ import_react41.default.createElement(
7327
+ /* @__PURE__ */ import_react42.default.createElement(
7337
7328
  "circle",
7338
7329
  {
7339
7330
  r: normalizedRadius,
@@ -7349,7 +7340,7 @@ var ProgressCircle = import_react41.default.forwardRef((props, ref) => {
7349
7340
  )
7350
7341
  }
7351
7342
  ),
7352
- value > 0 ? /* @__PURE__ */ import_react41.default.createElement(
7343
+ value > 0 ? /* @__PURE__ */ import_react42.default.createElement(
7353
7344
  "circle",
7354
7345
  {
7355
7346
  r: normalizedRadius,
@@ -7369,24 +7360,24 @@ var ProgressCircle = import_react41.default.forwardRef((props, ref) => {
7369
7360
  }
7370
7361
  ) : null
7371
7362
  ),
7372
- /* @__PURE__ */ import_react41.default.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
7363
+ /* @__PURE__ */ import_react42.default.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
7373
7364
  ));
7374
7365
  });
7375
7366
  ProgressCircle.displayName = "ProgressCircle";
7376
7367
 
7377
7368
  // elements/pagination/Pagination.tsx
7378
- var import_react42 = __toESM(require("react"));
7369
+ var import_react43 = __toESM(require("react"));
7379
7370
  var import_react_headless_pagination = require("react-headless-pagination");
7380
7371
  var Pagination = ({
7381
7372
  direction,
7382
7373
  totalPages,
7383
7374
  currentPage
7384
7375
  }) => {
7385
- const [page, setPage] = import_react42.default.useState(currentPage || 0);
7376
+ const [page, setPage] = import_react43.default.useState(currentPage || 0);
7386
7377
  const handlePageChange = (page2) => {
7387
7378
  setPage(page2);
7388
7379
  };
7389
- return /* @__PURE__ */ import_react42.default.createElement(
7380
+ return /* @__PURE__ */ import_react43.default.createElement(
7390
7381
  import_react_headless_pagination.Pagination,
7391
7382
  {
7392
7383
  totalPages,
@@ -7398,10 +7389,10 @@ var Pagination = ({
7398
7389
  truncableText: "...",
7399
7390
  truncableClassName: "hawa-w-10 hawa-px-0.5 hawa-text-center"
7400
7391
  },
7401
- /* @__PURE__ */ import_react42.default.createElement(
7392
+ /* @__PURE__ */ import_react43.default.createElement(
7402
7393
  import_react_headless_pagination.Pagination.PrevButton,
7403
7394
  {
7404
- as: /* @__PURE__ */ import_react42.default.createElement(
7395
+ as: /* @__PURE__ */ import_react43.default.createElement(
7405
7396
  "button",
7406
7397
  {
7407
7398
  "aria-label": "Previous Table Page",
@@ -7411,7 +7402,7 @@ var Pagination = ({
7411
7402
  ),
7412
7403
  style: { minWidth: 36 }
7413
7404
  },
7414
- /* @__PURE__ */ import_react42.default.createElement(
7405
+ /* @__PURE__ */ import_react43.default.createElement(
7415
7406
  "svg",
7416
7407
  {
7417
7408
  xmlns: "http://www.w3.org/2000/svg",
@@ -7424,7 +7415,7 @@ var Pagination = ({
7424
7415
  strokeLinecap: "round",
7425
7416
  strokeLinejoin: "round"
7426
7417
  },
7427
- /* @__PURE__ */ import_react42.default.createElement("path", { d: "m15 18-6-6 6-6" })
7418
+ /* @__PURE__ */ import_react43.default.createElement("path", { d: "m15 18-6-6 6-6" })
7428
7419
  )
7429
7420
  ),
7430
7421
  className: cn(
@@ -7437,17 +7428,17 @@ var Pagination = ({
7437
7428
  },
7438
7429
  "Previous"
7439
7430
  ),
7440
- /* @__PURE__ */ import_react42.default.createElement("nav", { className: "hawa-flex hawa-flex-grow hawa-justify-center" }, /* @__PURE__ */ import_react42.default.createElement("ul", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ import_react42.default.createElement(
7431
+ /* @__PURE__ */ import_react43.default.createElement("nav", { className: "hawa-flex hawa-flex-grow hawa-justify-center" }, /* @__PURE__ */ import_react43.default.createElement("ul", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ import_react43.default.createElement(
7441
7432
  import_react_headless_pagination.Pagination.PageButton,
7442
7433
  {
7443
7434
  className: "hawa-tap-highlight-transparent hawa-text-default-foreground data-[focus-visible=true]:hawa-outline-focus data-[disabled=true]:hawa-text-default-300 hawa-min-w-9 hawa-text-small hawa-box-border hawa-flex hawa-h-9 hawa-w-9 hawa-cursor-pointer hawa-touch-none hawa-select-none hawa-flex-wrap hawa-items-center hawa-justify-center hawa-truncate hawa-rounded hawa-border hawa-bg-card hawa-outline-none hawa-transition-all hover:hawa-scale-[1.1] data-[disabled=true]:hawa-pointer-events-none data-[focus-visible=true]:hawa-z-10 data-[pressed=true]:hawa-scale-[0.97] data-[focus-visible=true]:hawa-outline-2 data-[focus-visible=true]:hawa-outline-offset-2",
7444
7435
  activeClassName: "hawa-bg-primary hawa-text-primary-foreground hawa-transition-all"
7445
7436
  }
7446
7437
  ))),
7447
- /* @__PURE__ */ import_react42.default.createElement(
7438
+ /* @__PURE__ */ import_react43.default.createElement(
7448
7439
  import_react_headless_pagination.Pagination.NextButton,
7449
7440
  {
7450
- as: /* @__PURE__ */ import_react42.default.createElement(
7441
+ as: /* @__PURE__ */ import_react43.default.createElement(
7451
7442
  "button",
7452
7443
  {
7453
7444
  "aria-label": "Previous Table Page",
@@ -7457,7 +7448,7 @@ var Pagination = ({
7457
7448
  ),
7458
7449
  style: { minWidth: 36 }
7459
7450
  },
7460
- /* @__PURE__ */ import_react42.default.createElement(
7451
+ /* @__PURE__ */ import_react43.default.createElement(
7461
7452
  "svg",
7462
7453
  {
7463
7454
  xmlns: "http://www.w3.org/2000/svg",
@@ -7470,7 +7461,7 @@ var Pagination = ({
7470
7461
  strokeLinecap: "round",
7471
7462
  strokeLinejoin: "round"
7472
7463
  },
7473
- /* @__PURE__ */ import_react42.default.createElement("path", { d: "m15 18-6-6 6-6" })
7464
+ /* @__PURE__ */ import_react43.default.createElement("path", { d: "m15 18-6-6 6-6" })
7474
7465
  )
7475
7466
  ),
7476
7467
  className: cn(
@@ -7487,14 +7478,14 @@ var Pagination = ({
7487
7478
  };
7488
7479
 
7489
7480
  // elements/passwordInput/PasswordInput.tsx
7490
- var import_react46 = __toESM(require("react"));
7481
+ var import_react47 = __toESM(require("react"));
7491
7482
 
7492
7483
  // icons/Emojis.tsx
7493
- var import_react43 = __toESM(require("react"));
7484
+ var import_react44 = __toESM(require("react"));
7494
7485
 
7495
7486
  // icons/InputIcons.tsx
7496
- var import_react44 = __toESM(require("react"));
7497
- var EyeIcon = (props) => /* @__PURE__ */ import_react44.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react44.default.createElement(
7487
+ var import_react45 = __toESM(require("react"));
7488
+ var EyeIcon = (props) => /* @__PURE__ */ import_react45.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react45.default.createElement(
7498
7489
  "svg",
7499
7490
  {
7500
7491
  xmlns: "http://www.w3.org/2000/svg",
@@ -7505,10 +7496,10 @@ var EyeIcon = (props) => /* @__PURE__ */ import_react44.default.createElement("d
7505
7496
  strokeLinecap: "round",
7506
7497
  strokeLinejoin: "round"
7507
7498
  },
7508
- /* @__PURE__ */ import_react44.default.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
7509
- /* @__PURE__ */ import_react44.default.createElement("circle", { cx: "12", cy: "12", r: "3" })
7499
+ /* @__PURE__ */ import_react45.default.createElement("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }),
7500
+ /* @__PURE__ */ import_react45.default.createElement("circle", { cx: "12", cy: "12", r: "3" })
7510
7501
  ));
7511
- var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react44.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react44.default.createElement(
7502
+ var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react45.default.createElement("div", { className: cn("hawa-h-5 hawa-w-5", props.className) }, /* @__PURE__ */ import_react45.default.createElement(
7512
7503
  "svg",
7513
7504
  {
7514
7505
  xmlns: "http://www.w3.org/2000/svg",
@@ -7519,20 +7510,20 @@ var HiddenEyeIcon = (props) => /* @__PURE__ */ import_react44.default.createElem
7519
7510
  strokeLinecap: "round",
7520
7511
  strokeLinejoin: "round"
7521
7512
  },
7522
- /* @__PURE__ */ import_react44.default.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
7523
- /* @__PURE__ */ import_react44.default.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
7524
- /* @__PURE__ */ import_react44.default.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
7525
- /* @__PURE__ */ import_react44.default.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
7513
+ /* @__PURE__ */ import_react45.default.createElement("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }),
7514
+ /* @__PURE__ */ import_react45.default.createElement("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }),
7515
+ /* @__PURE__ */ import_react45.default.createElement("path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }),
7516
+ /* @__PURE__ */ import_react45.default.createElement("line", { x1: "2", x2: "22", y1: "2", y2: "22" })
7526
7517
  ));
7527
7518
 
7528
7519
  // icons/CommonIcons.tsx
7529
- var import_react45 = __toESM(require("react"));
7520
+ var import_react46 = __toESM(require("react"));
7530
7521
  var CheckMark = ({ size = "default", className }) => {
7531
7522
  let sizeStyles2 = {
7532
7523
  default: "hawa-h-5 hawa-w-5",
7533
7524
  sm: "hawa-h-3 hawa-w-3"
7534
7525
  };
7535
- return /* @__PURE__ */ import_react45.default.createElement(
7526
+ return /* @__PURE__ */ import_react46.default.createElement(
7536
7527
  "svg",
7537
7528
  {
7538
7529
  className: cn(sizeStyles2[size], className),
@@ -7540,7 +7531,7 @@ var CheckMark = ({ size = "default", className }) => {
7540
7531
  fill: "currentColor",
7541
7532
  viewBox: "0 0 20 20"
7542
7533
  },
7543
- /* @__PURE__ */ import_react45.default.createElement(
7534
+ /* @__PURE__ */ import_react46.default.createElement(
7544
7535
  "path",
7545
7536
  {
7546
7537
  fillRule: "evenodd",
@@ -7555,7 +7546,7 @@ var UncheckMark = ({ size = "default", className }) => {
7555
7546
  default: "hawa-h-5 hawa-w-5",
7556
7547
  sm: "hawa-h-3 hawa-w-3"
7557
7548
  };
7558
- return /* @__PURE__ */ import_react45.default.createElement(
7549
+ return /* @__PURE__ */ import_react46.default.createElement(
7559
7550
  "svg",
7560
7551
  {
7561
7552
  className: cn(sizeStyles2[size], className),
@@ -7563,7 +7554,7 @@ var UncheckMark = ({ size = "default", className }) => {
7563
7554
  fill: "currentColor",
7564
7555
  viewBox: "0 0 20 20"
7565
7556
  },
7566
- /* @__PURE__ */ import_react45.default.createElement(
7557
+ /* @__PURE__ */ import_react46.default.createElement(
7567
7558
  "path",
7568
7559
  {
7569
7560
  fillRule: "evenodd",
@@ -7601,7 +7592,7 @@ var PasswordStrengthIndicator = ({ strength }) => {
7601
7592
  strong: "80%",
7602
7593
  "very-strong": "100%"
7603
7594
  }[currentStrengthLevel];
7604
- return /* @__PURE__ */ import_react46.default.createElement("div", { className: "hawa-mt-0.5 hawa-h-2 hawa-w-full hawa-rounded hawa-bg-gray-200" }, /* @__PURE__ */ import_react46.default.createElement(
7595
+ return /* @__PURE__ */ import_react47.default.createElement("div", { className: "hawa-mt-0.5 hawa-h-2 hawa-w-full hawa-rounded hawa-bg-gray-200" }, /* @__PURE__ */ import_react47.default.createElement(
7605
7596
  "div",
7606
7597
  {
7607
7598
  className: `${strengthColors[currentStrengthLevel]} hawa-h-full hawa-rounded hawa-transition-all hawa-duration-300`,
@@ -7613,16 +7604,16 @@ var PasswordInput = ({
7613
7604
  hidePopover,
7614
7605
  ...props
7615
7606
  }) => {
7616
- const [inputValue, setInputValue] = (0, import_react46.useState)("");
7617
- const [isInputFocused, setIsInputFocused] = (0, import_react46.useState)(false);
7618
- const [currentStr, setCurrentStr] = (0, import_react46.useState)(0);
7619
- const [passwordVisible, setPasswordVisible] = (0, import_react46.useState)(false);
7620
- const [lengthCriteriaMet, setLengthCriteriaMet] = (0, import_react46.useState)(false);
7621
- const [numberCriteriaMet, setNumberCriteriaMet] = (0, import_react46.useState)(false);
7622
- const [specialCharCriteriaMet, setSpecialCharCriteriaMet] = (0, import_react46.useState)(false);
7623
- const [lowercaseCriteriaMet, setLowercaseCriteriaMet] = (0, import_react46.useState)(false);
7624
- const [uppercaseCriteriaMet, setUppercaseCriteriaMet] = (0, import_react46.useState)(false);
7625
- (0, import_react46.useEffect)(() => {
7607
+ const [inputValue, setInputValue] = (0, import_react47.useState)("");
7608
+ const [isInputFocused, setIsInputFocused] = (0, import_react47.useState)(false);
7609
+ const [currentStr, setCurrentStr] = (0, import_react47.useState)(0);
7610
+ const [passwordVisible, setPasswordVisible] = (0, import_react47.useState)(false);
7611
+ const [lengthCriteriaMet, setLengthCriteriaMet] = (0, import_react47.useState)(false);
7612
+ const [numberCriteriaMet, setNumberCriteriaMet] = (0, import_react47.useState)(false);
7613
+ const [specialCharCriteriaMet, setSpecialCharCriteriaMet] = (0, import_react47.useState)(false);
7614
+ const [lowercaseCriteriaMet, setLowercaseCriteriaMet] = (0, import_react47.useState)(false);
7615
+ const [uppercaseCriteriaMet, setUppercaseCriteriaMet] = (0, import_react47.useState)(false);
7616
+ (0, import_react47.useEffect)(() => {
7626
7617
  const calculateStrength = () => {
7627
7618
  let strengthScore = 0;
7628
7619
  if (lengthCriteriaMet)
@@ -7661,7 +7652,7 @@ var PasswordInput = ({
7661
7652
  setIsInputFocused(false);
7662
7653
  };
7663
7654
  const getCriteriaClass = (isMet) => isMet ? "hawa-flex hawa-flex-row hawa-gap-2 hawa-text-sm hawa-items-center hawa-text-green-500" : "hawa-flex hawa-flex-row hawa-gap-2 hawa-text-sm hawa-items-center hawa-text-red-600";
7664
- return /* @__PURE__ */ import_react46.default.createElement("div", null, /* @__PURE__ */ import_react46.default.createElement(
7655
+ return /* @__PURE__ */ import_react47.default.createElement("div", null, /* @__PURE__ */ import_react47.default.createElement(
7665
7656
  Popover,
7666
7657
  {
7667
7658
  width: "trigger",
@@ -7670,7 +7661,7 @@ var PasswordInput = ({
7670
7661
  onOpenChange: setIsInputFocused,
7671
7662
  triggerProps: { asChild: true },
7672
7663
  contentProps: { onOpenAutoFocus: (e) => e.preventDefault() },
7673
- trigger: /* @__PURE__ */ import_react46.default.createElement(
7664
+ trigger: /* @__PURE__ */ import_react47.default.createElement(
7674
7665
  "div",
7675
7666
  {
7676
7667
  onClick: (e) => {
@@ -7680,7 +7671,7 @@ var PasswordInput = ({
7680
7671
  }
7681
7672
  }
7682
7673
  },
7683
- /* @__PURE__ */ import_react46.default.createElement(
7674
+ /* @__PURE__ */ import_react47.default.createElement(
7684
7675
  Input,
7685
7676
  {
7686
7677
  width: "full",
@@ -7690,21 +7681,21 @@ var PasswordInput = ({
7690
7681
  onFocus: handleInputFocus,
7691
7682
  onBlur: handleInputBlur,
7692
7683
  type: passwordVisible ? "text" : "password",
7693
- endIcon: /* @__PURE__ */ import_react46.default.createElement(
7684
+ endIcon: /* @__PURE__ */ import_react47.default.createElement(
7694
7685
  "div",
7695
7686
  {
7696
7687
  className: "hawa-cursor-pointer",
7697
7688
  onClick: () => setPasswordVisible(!passwordVisible)
7698
7689
  },
7699
- passwordVisible ? /* @__PURE__ */ import_react46.default.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ import_react46.default.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
7690
+ passwordVisible ? /* @__PURE__ */ import_react47.default.createElement(EyeIcon, { className: "hawa-text-gray-500" }) : /* @__PURE__ */ import_react47.default.createElement(HiddenEyeIcon, { className: "hawa-text-gray-500" }),
7700
7691
  " "
7701
7692
  )
7702
7693
  }
7703
7694
  )
7704
7695
  )
7705
7696
  },
7706
- /* @__PURE__ */ import_react46.default.createElement("div", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ import_react46.default.createElement("ul", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ import_react46.default.createElement("li", { className: getCriteriaClass(lengthCriteriaMet) }, lengthCriteriaMet ? /* @__PURE__ */ import_react46.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react46.default.createElement(UncheckMark, { size: "sm" }), "At least 8 characters long"), /* @__PURE__ */ import_react46.default.createElement("li", { className: getCriteriaClass(numberCriteriaMet) }, numberCriteriaMet ? /* @__PURE__ */ import_react46.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react46.default.createElement(UncheckMark, { size: "sm" }), "At least 1 number"), /* @__PURE__ */ import_react46.default.createElement("li", { className: getCriteriaClass(specialCharCriteriaMet) }, specialCharCriteriaMet ? /* @__PURE__ */ import_react46.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react46.default.createElement(UncheckMark, { size: "sm" }), "At least 1 special character"), /* @__PURE__ */ import_react46.default.createElement("li", { className: getCriteriaClass(lowercaseCriteriaMet) }, lowercaseCriteriaMet ? /* @__PURE__ */ import_react46.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react46.default.createElement(UncheckMark, { size: "sm" }), "At least 1 lowercase letter"), /* @__PURE__ */ import_react46.default.createElement("li", { className: getCriteriaClass(uppercaseCriteriaMet) }, uppercaseCriteriaMet ? /* @__PURE__ */ import_react46.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react46.default.createElement(UncheckMark, { size: "sm" }), "At least 1 uppercase letter")))
7707
- ), /* @__PURE__ */ import_react46.default.createElement(PasswordStrengthIndicator, { strength: currentStr }));
7697
+ /* @__PURE__ */ import_react47.default.createElement("div", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ import_react47.default.createElement("ul", { className: "hawa-rounded hawa-p-2" }, /* @__PURE__ */ import_react47.default.createElement("li", { className: getCriteriaClass(lengthCriteriaMet) }, lengthCriteriaMet ? /* @__PURE__ */ import_react47.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react47.default.createElement(UncheckMark, { size: "sm" }), "At least 8 characters long"), /* @__PURE__ */ import_react47.default.createElement("li", { className: getCriteriaClass(numberCriteriaMet) }, numberCriteriaMet ? /* @__PURE__ */ import_react47.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react47.default.createElement(UncheckMark, { size: "sm" }), "At least 1 number"), /* @__PURE__ */ import_react47.default.createElement("li", { className: getCriteriaClass(specialCharCriteriaMet) }, specialCharCriteriaMet ? /* @__PURE__ */ import_react47.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react47.default.createElement(UncheckMark, { size: "sm" }), "At least 1 special character"), /* @__PURE__ */ import_react47.default.createElement("li", { className: getCriteriaClass(lowercaseCriteriaMet) }, lowercaseCriteriaMet ? /* @__PURE__ */ import_react47.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react47.default.createElement(UncheckMark, { size: "sm" }), "At least 1 lowercase letter"), /* @__PURE__ */ import_react47.default.createElement("li", { className: getCriteriaClass(uppercaseCriteriaMet) }, uppercaseCriteriaMet ? /* @__PURE__ */ import_react47.default.createElement(CheckMark, { size: "sm" }) : /* @__PURE__ */ import_react47.default.createElement(UncheckMark, { size: "sm" }), "At least 1 uppercase letter")))
7698
+ ), /* @__PURE__ */ import_react47.default.createElement(PasswordStrengthIndicator, { strength: currentStr }));
7708
7699
  };
7709
7700
 
7710
7701
  // elements/slider/Slider.tsx
@@ -7819,12 +7810,12 @@ var Separator2 = ({
7819
7810
  );
7820
7811
 
7821
7812
  // elements/scrollIndicator/ScrollIndicator.tsx
7822
- var import_react47 = __toESM(require("react"));
7813
+ var import_react48 = __toESM(require("react"));
7823
7814
  var ScrollIndicator = ({
7824
7815
  anchor,
7825
7816
  inContainer = false
7826
7817
  }) => {
7827
- const [scrollPercentage, setScrollPercentage] = (0, import_react47.useState)(0);
7818
+ const [scrollPercentage, setScrollPercentage] = (0, import_react48.useState)(0);
7828
7819
  const onScroll = () => {
7829
7820
  const scrollElement = anchor.current;
7830
7821
  if (scrollElement) {
@@ -7835,7 +7826,7 @@ var ScrollIndicator = ({
7835
7826
  setScrollPercentage(percentageScrolled);
7836
7827
  }
7837
7828
  };
7838
- (0, import_react47.useEffect)(() => {
7829
+ (0, import_react48.useEffect)(() => {
7839
7830
  if (!anchor.current)
7840
7831
  return;
7841
7832
  anchor.current.addEventListener("scroll", onScroll);
@@ -7844,7 +7835,7 @@ var ScrollIndicator = ({
7844
7835
  (_a = anchor.current) == null ? void 0 : _a.removeEventListener("scroll", onScroll);
7845
7836
  };
7846
7837
  }, [anchor]);
7847
- return /* @__PURE__ */ import_react47.default.createElement(
7838
+ return /* @__PURE__ */ import_react48.default.createElement(
7848
7839
  "div",
7849
7840
  {
7850
7841
  style: {
@@ -7860,11 +7851,11 @@ var ScrollIndicator = ({
7860
7851
  };
7861
7852
 
7862
7853
  // elements/codeBlock/CodeBlock.tsx
7863
- var import_react48 = __toESM(require("react"));
7854
+ var import_react49 = __toESM(require("react"));
7864
7855
  var import_prism_react_renderer = require("prism-react-renderer");
7865
7856
  (typeof global !== "undefined" ? global : window).Prism = import_prism_react_renderer.Prism;
7866
7857
  require("prismjs/components/prism-bash");
7867
- var CopyIcon = () => /* @__PURE__ */ import_react48.default.createElement(
7858
+ var CopyIcon = () => /* @__PURE__ */ import_react49.default.createElement(
7868
7859
  "svg",
7869
7860
  {
7870
7861
  "aria-label": "Copy",
@@ -7877,8 +7868,8 @@ var CopyIcon = () => /* @__PURE__ */ import_react48.default.createElement(
7877
7868
  height: "1em",
7878
7869
  width: "1em"
7879
7870
  },
7880
- /* @__PURE__ */ import_react48.default.createElement("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
7881
- /* @__PURE__ */ import_react48.default.createElement("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
7871
+ /* @__PURE__ */ import_react49.default.createElement("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
7872
+ /* @__PURE__ */ import_react49.default.createElement("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
7882
7873
  );
7883
7874
  var CodeBlock = ({
7884
7875
  tabs,
@@ -7892,7 +7883,7 @@ var CodeBlock = ({
7892
7883
  ...props
7893
7884
  }) => {
7894
7885
  const clipboard = useClipboard();
7895
- const [selectedTab, setSelectedTab] = (0, import_react48.useState)(0);
7886
+ const [selectedTab, setSelectedTab] = (0, import_react49.useState)(0);
7896
7887
  const theme = import_prism_react_renderer.themes.oceanicNext;
7897
7888
  let widthStyles = {
7898
7889
  full: "hawa-w-full",
@@ -7900,7 +7891,7 @@ var CodeBlock = ({
7900
7891
  sm: "hawa-w-full hawa-max-w-sm",
7901
7892
  xs: "hawa-w-full hawa-max-w-xs"
7902
7893
  };
7903
- return /* @__PURE__ */ import_react48.default.createElement(
7894
+ return /* @__PURE__ */ import_react49.default.createElement(
7904
7895
  "div",
7905
7896
  {
7906
7897
  className: cn(
@@ -7909,7 +7900,7 @@ var CodeBlock = ({
7909
7900
  classNames == null ? void 0 : classNames.root
7910
7901
  )
7911
7902
  },
7912
- fileName && /* @__PURE__ */ import_react48.default.createElement(
7903
+ fileName && /* @__PURE__ */ import_react49.default.createElement(
7913
7904
  "div",
7914
7905
  {
7915
7906
  className: cn(
@@ -7918,7 +7909,7 @@ var CodeBlock = ({
7918
7909
  classNames == null ? void 0 : classNames.fileName
7919
7910
  )
7920
7911
  },
7921
- /* @__PURE__ */ import_react48.default.createElement(
7912
+ /* @__PURE__ */ import_react49.default.createElement(
7922
7913
  "div",
7923
7914
  {
7924
7915
  className: cn(
@@ -7928,7 +7919,7 @@ var CodeBlock = ({
7928
7919
  fileName
7929
7920
  )
7930
7921
  ),
7931
- tabs && /* @__PURE__ */ import_react48.default.createElement(
7922
+ tabs && /* @__PURE__ */ import_react49.default.createElement(
7932
7923
  "div",
7933
7924
  {
7934
7925
  className: cn(
@@ -7937,7 +7928,7 @@ var CodeBlock = ({
7937
7928
  classNames == null ? void 0 : classNames.tabs
7938
7929
  )
7939
7930
  },
7940
- tabs.map((tab, i) => /* @__PURE__ */ import_react48.default.createElement(
7931
+ tabs.map((tab, i) => /* @__PURE__ */ import_react49.default.createElement(
7941
7932
  "div",
7942
7933
  {
7943
7934
  key: i,
@@ -7946,7 +7937,7 @@ var CodeBlock = ({
7946
7937
  classNames == null ? void 0 : classNames.tab
7947
7938
  )
7948
7939
  },
7949
- /* @__PURE__ */ import_react48.default.createElement(
7940
+ /* @__PURE__ */ import_react49.default.createElement(
7950
7941
  "div",
7951
7942
  {
7952
7943
  onClick: () => setSelectedTab(i),
@@ -7958,7 +7949,7 @@ var CodeBlock = ({
7958
7949
  )
7959
7950
  ))
7960
7951
  ),
7961
- /* @__PURE__ */ import_react48.default.createElement(
7952
+ /* @__PURE__ */ import_react49.default.createElement(
7962
7953
  "div",
7963
7954
  {
7964
7955
  className: cn(
@@ -7968,22 +7959,22 @@ var CodeBlock = ({
7968
7959
  "hawa-overflow-y-auto"
7969
7960
  )
7970
7961
  },
7971
- /* @__PURE__ */ import_react48.default.createElement(
7962
+ /* @__PURE__ */ import_react49.default.createElement(
7972
7963
  "div",
7973
7964
  {
7974
7965
  className: cn(
7975
7966
  "hawa-flex hawa-absolute hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-z-50 hawa-right-3 hawa-top-3"
7976
7967
  )
7977
7968
  },
7978
- /* @__PURE__ */ import_react48.default.createElement(
7969
+ /* @__PURE__ */ import_react49.default.createElement(
7979
7970
  Tooltip,
7980
7971
  {
7981
7972
  open: clipboard.copied,
7982
7973
  side: "left",
7983
- content: /* @__PURE__ */ import_react48.default.createElement("div", null, "Copied!"),
7974
+ content: /* @__PURE__ */ import_react49.default.createElement("div", null, "Copied!"),
7984
7975
  triggerProps: { asChild: true }
7985
7976
  },
7986
- /* @__PURE__ */ import_react48.default.createElement(
7977
+ /* @__PURE__ */ import_react49.default.createElement(
7987
7978
  Button,
7988
7979
  {
7989
7980
  size: "smallIcon",
@@ -7991,18 +7982,18 @@ var CodeBlock = ({
7991
7982
  variant: "outline",
7992
7983
  className: "hawa-text-gray-200 hawa-opacity-50 dark:hawa-border-gray-200 dark:hover:hawa-border-gray-400"
7993
7984
  },
7994
- /* @__PURE__ */ import_react48.default.createElement(CopyIcon, null)
7985
+ /* @__PURE__ */ import_react49.default.createElement(CopyIcon, null)
7995
7986
  )
7996
7987
  )
7997
7988
  ),
7998
- /* @__PURE__ */ import_react48.default.createElement(
7989
+ /* @__PURE__ */ import_react49.default.createElement(
7999
7990
  import_prism_react_renderer.Highlight,
8000
7991
  {
8001
7992
  theme,
8002
7993
  code: tabs ? tabs[selectedTab].code : code || "",
8003
7994
  language
8004
7995
  },
8005
- ({ tokens, getLineProps, getTokenProps }) => /* @__PURE__ */ import_react48.default.createElement(
7996
+ ({ tokens, getLineProps, getTokenProps }) => /* @__PURE__ */ import_react49.default.createElement(
8006
7997
  "pre",
8007
7998
  {
8008
7999
  className: cn(
@@ -8012,7 +8003,7 @@ var CodeBlock = ({
8012
8003
  wrapText && "hawa-text-wrap"
8013
8004
  )
8014
8005
  },
8015
- tokens.map((line, i) => /* @__PURE__ */ import_react48.default.createElement("div", { key: i, ...getLineProps({ line }) }, props.lineNumbers && /* @__PURE__ */ import_react48.default.createElement("span", { className: "hawa-mr-4" }, i + 1), line.map((token, key) => /* @__PURE__ */ import_react48.default.createElement("span", { key, ...getTokenProps({ token }) }))))
8006
+ tokens.map((line, i) => /* @__PURE__ */ import_react49.default.createElement("div", { key: i, ...getLineProps({ line }) }, props.lineNumbers && /* @__PURE__ */ import_react49.default.createElement("span", { className: "hawa-mr-4" }, i + 1), line.map((token, key) => /* @__PURE__ */ import_react49.default.createElement("span", { key, ...getTokenProps({ token }) }))))
8016
8007
  )
8017
8008
  )
8018
8009
  )
@@ -8020,7 +8011,7 @@ var CodeBlock = ({
8020
8011
  };
8021
8012
 
8022
8013
  // elements/carousel/Carousel.tsx
8023
- var import_react49 = __toESM(require("react"));
8014
+ var import_react50 = __toESM(require("react"));
8024
8015
  var import_embla_carousel_react2 = __toESM(require("embla-carousel-react"));
8025
8016
  var Carousel = ({
8026
8017
  items,
@@ -8036,8 +8027,8 @@ var Carousel = ({
8036
8027
  direction,
8037
8028
  loop: autoplay ? true : (options == null ? void 0 : options.loop) || false
8038
8029
  });
8039
- const [selectedIndex, setSelectedIndex] = (0, import_react49.useState)(0);
8040
- (0, import_react49.useEffect)(() => {
8030
+ const [selectedIndex, setSelectedIndex] = (0, import_react50.useState)(0);
8031
+ (0, import_react50.useEffect)(() => {
8041
8032
  function selectHandler() {
8042
8033
  const index = emblaApi == null ? void 0 : emblaApi.selectedScrollSnap();
8043
8034
  setSelectedIndex(index || 0);
@@ -8047,7 +8038,7 @@ var Carousel = ({
8047
8038
  emblaApi == null ? void 0 : emblaApi.off("select", selectHandler);
8048
8039
  };
8049
8040
  }, [emblaApi]);
8050
- (0, import_react49.useEffect)(() => {
8041
+ (0, import_react50.useEffect)(() => {
8051
8042
  let autoplayTimer;
8052
8043
  if (autoplay && emblaApi) {
8053
8044
  autoplayTimer = setInterval(() => {
@@ -8059,17 +8050,17 @@ var Carousel = ({
8059
8050
  clearInterval(autoplayTimer);
8060
8051
  };
8061
8052
  }, [emblaApi, autoplay, autoplayInterval]);
8062
- const length = import_react49.default.Children.count(items);
8053
+ const length = import_react50.default.Children.count(items);
8063
8054
  const canScrollNext = !!(emblaApi == null ? void 0 : emblaApi.canScrollNext());
8064
8055
  const canScrollPrev = !!(emblaApi == null ? void 0 : emblaApi.canScrollPrev());
8065
- return /* @__PURE__ */ import_react49.default.createElement("div", { className: " hawa-relative hawa-h-full" }, /* @__PURE__ */ import_react49.default.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ import_react49.default.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ import_react49.default.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ import_react49.default.createElement(
8056
+ return /* @__PURE__ */ import_react50.default.createElement("div", { className: " hawa-relative hawa-h-full" }, /* @__PURE__ */ import_react50.default.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ import_react50.default.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ import_react50.default.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ import_react50.default.createElement(
8066
8057
  "div",
8067
8058
  {
8068
8059
  key: i,
8069
8060
  className: "hawa-flex hawa-h-full hawa-min-w-0 hawa-flex-[0_0_100%] hawa-items-center hawa-justify-center"
8070
8061
  },
8071
8062
  item
8072
- ))))), /* @__PURE__ */ import_react49.default.createElement(
8063
+ ))))), /* @__PURE__ */ import_react50.default.createElement(
8073
8064
  Dots,
8074
8065
  {
8075
8066
  direction,
@@ -8077,7 +8068,7 @@ var Carousel = ({
8077
8068
  selectedIndex,
8078
8069
  onDotClick: (index) => emblaApi == null ? void 0 : emblaApi.scrollTo(index)
8079
8070
  }
8080
- ), showArrows && /* @__PURE__ */ import_react49.default.createElement(
8071
+ ), showArrows && /* @__PURE__ */ import_react50.default.createElement(
8081
8072
  CarouselControls,
8082
8073
  {
8083
8074
  canScrollNext,
@@ -8094,7 +8085,7 @@ var Dots = ({
8094
8085
  direction
8095
8086
  }) => {
8096
8087
  const arr = new Array(itemsLength).fill(0);
8097
- return /* @__PURE__ */ import_react49.default.createElement(
8088
+ return /* @__PURE__ */ import_react50.default.createElement(
8098
8089
  "div",
8099
8090
  {
8100
8091
  dir: direction,
@@ -8102,7 +8093,7 @@ var Dots = ({
8102
8093
  },
8103
8094
  arr.map((_, index) => {
8104
8095
  const selected = index === selectedIndex;
8105
- return /* @__PURE__ */ import_react49.default.createElement(
8096
+ return /* @__PURE__ */ import_react50.default.createElement(
8106
8097
  "div",
8107
8098
  {
8108
8099
  key: index,
@@ -8117,7 +8108,7 @@ var Dots = ({
8117
8108
  );
8118
8109
  };
8119
8110
  var CarouselControls = (props) => {
8120
- return /* @__PURE__ */ import_react49.default.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ import_react49.default.createElement(
8111
+ return /* @__PURE__ */ import_react50.default.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2 " }, /* @__PURE__ */ import_react50.default.createElement(
8121
8112
  "button",
8122
8113
  {
8123
8114
  onClick: () => props.canScrollPrev && props.onPrev(),
@@ -8128,7 +8119,7 @@ var CarouselControls = (props) => {
8128
8119
  props.canScrollPrev && "hawa-bg-primary"
8129
8120
  )
8130
8121
  },
8131
- /* @__PURE__ */ import_react49.default.createElement(
8122
+ /* @__PURE__ */ import_react50.default.createElement(
8132
8123
  "svg",
8133
8124
  {
8134
8125
  "aria-label": "Chevron Right Icon",
@@ -8137,9 +8128,9 @@ var CarouselControls = (props) => {
8137
8128
  viewBox: "0 0 16 16",
8138
8129
  className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200 "
8139
8130
  },
8140
- /* @__PURE__ */ import_react49.default.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
8131
+ /* @__PURE__ */ import_react50.default.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
8141
8132
  )
8142
- ), /* @__PURE__ */ import_react49.default.createElement(
8133
+ ), /* @__PURE__ */ import_react50.default.createElement(
8143
8134
  "button",
8144
8135
  {
8145
8136
  onClick: () => props.canScrollNext && props.onNext(),
@@ -8150,7 +8141,7 @@ var CarouselControls = (props) => {
8150
8141
  props.canScrollNext && "hawa-bg-primary"
8151
8142
  )
8152
8143
  },
8153
- /* @__PURE__ */ import_react49.default.createElement(
8144
+ /* @__PURE__ */ import_react50.default.createElement(
8154
8145
  "svg",
8155
8146
  {
8156
8147
  "aria-label": "Chevron Right Icon",
@@ -8159,15 +8150,15 @@ var CarouselControls = (props) => {
8159
8150
  viewBox: "0 0 16 16",
8160
8151
  className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-transition-transform hawa-duration-200 "
8161
8152
  },
8162
- /* @__PURE__ */ import_react49.default.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
8153
+ /* @__PURE__ */ import_react50.default.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
8163
8154
  )
8164
8155
  ));
8165
8156
  };
8166
8157
 
8167
8158
  // elements/count/Count.tsx
8168
- var import_react50 = __toESM(require("react"));
8159
+ var import_react51 = __toESM(require("react"));
8169
8160
  var Count = (props) => {
8170
- return /* @__PURE__ */ import_react50.default.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ import_react50.default.createElement("div", null, props.icon), /* @__PURE__ */ import_react50.default.createElement("div", { className: "hawa-text-sm" }, props.count));
8161
+ return /* @__PURE__ */ import_react51.default.createElement("div", { className: "hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2" }, /* @__PURE__ */ import_react51.default.createElement("div", null, props.icon), /* @__PURE__ */ import_react51.default.createElement("div", { className: "hawa-text-sm" }, props.count));
8171
8162
  };
8172
8163
 
8173
8164
  // elements/toast/Toast.tsx
@@ -8308,11 +8299,11 @@ var ToastDescription = React67.forwardRef(({ className, size = "default", ...pro
8308
8299
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
8309
8300
 
8310
8301
  // elements/toaster/Toaster.tsx
8311
- var import_react51 = __toESM(require("react"));
8302
+ var import_react52 = __toESM(require("react"));
8312
8303
  function Toaster(props) {
8313
8304
  var _a;
8314
8305
  let isRTL = props.direction === "rtl";
8315
- return /* @__PURE__ */ import_react51.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, (_a = props.toasts) == null ? void 0 : _a.map(function({
8306
+ return /* @__PURE__ */ import_react52.default.createElement(ToastProvider, { swipeDirection: isRTL ? "left" : "right" }, (_a = props.toasts) == null ? void 0 : _a.map(function({
8316
8307
  id,
8317
8308
  title,
8318
8309
  description,
@@ -8320,7 +8311,7 @@ function Toaster(props) {
8320
8311
  action,
8321
8312
  ...toastProps
8322
8313
  }) {
8323
- return /* @__PURE__ */ import_react51.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react51.default.createElement(
8314
+ return /* @__PURE__ */ import_react52.default.createElement(Toast, { direction: props.direction, key: id, ...toastProps }, /* @__PURE__ */ import_react52.default.createElement(
8324
8315
  "div",
8325
8316
  {
8326
8317
  className: cn(
@@ -8328,9 +8319,9 @@ function Toaster(props) {
8328
8319
  action && "hawa-justify-between"
8329
8320
  )
8330
8321
  },
8331
- /* @__PURE__ */ import_react51.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-p-2 hawa-pe-0" }, /* @__PURE__ */ import_react51.default.createElement(ToastClose, null)),
8332
- /* @__PURE__ */ import_react51.default.createElement("div", { className: "hawa-mx-0 hawa-h-auto hawa-max-h-full hawa-w-px hawa-bg-primary-foreground/10" }),
8333
- /* @__PURE__ */ import_react51.default.createElement(
8322
+ /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-p-2 hawa-pe-0" }, /* @__PURE__ */ import_react52.default.createElement(ToastClose, null)),
8323
+ /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-mx-0 hawa-h-auto hawa-max-h-full hawa-w-px hawa-bg-primary-foreground/10" }),
8324
+ /* @__PURE__ */ import_react52.default.createElement(
8334
8325
  "div",
8335
8326
  {
8336
8327
  className: cn(
@@ -8338,11 +8329,11 @@ function Toaster(props) {
8338
8329
  { "hawa-p-4": size === "default", "hawa-p-2": size === "sm" }
8339
8330
  )
8340
8331
  },
8341
- /* @__PURE__ */ import_react51.default.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ import_react51.default.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ import_react51.default.createElement(ToastDescription, { size }, description)),
8342
- action && /* @__PURE__ */ import_react51.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
8332
+ /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ import_react52.default.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ import_react52.default.createElement(ToastDescription, { size }, description)),
8333
+ action && /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
8343
8334
  )
8344
8335
  ));
8345
- }), /* @__PURE__ */ import_react51.default.createElement(
8336
+ }), /* @__PURE__ */ import_react52.default.createElement(
8346
8337
  ToastViewport,
8347
8338
  {
8348
8339
  className: cn("hawa-gap-2", isRTL && "hawa-fixed hawa-left-0")
@@ -8351,20 +8342,20 @@ function Toaster(props) {
8351
8342
  }
8352
8343
 
8353
8344
  // elements/destroyableCard/DestroyableCard.tsx
8354
- var import_react52 = __toESM(require("react"));
8345
+ var import_react53 = __toESM(require("react"));
8355
8346
  var DestroyableCard = ({
8356
8347
  position = "bottom-right",
8357
8348
  fixed,
8358
8349
  direction,
8359
8350
  ...props
8360
8351
  }) => {
8361
- const [closed, setClosed] = (0, import_react52.useState)(false);
8362
- const popUpRef = (0, import_react52.useRef)(null);
8352
+ const [closed, setClosed] = (0, import_react53.useState)(false);
8353
+ const popUpRef = (0, import_react53.useRef)(null);
8363
8354
  const boxPosition = {
8364
8355
  "bottom-right": "hawa-right-4 hawa-bottom-4",
8365
8356
  "bottom-left": "hawa-left-4 hawa-bottom-4"
8366
8357
  };
8367
- return /* @__PURE__ */ import_react52.default.createElement(
8358
+ return /* @__PURE__ */ import_react53.default.createElement(
8368
8359
  "div",
8369
8360
  {
8370
8361
  className: cn(
@@ -8373,7 +8364,7 @@ var DestroyableCard = ({
8373
8364
  ),
8374
8365
  ref: popUpRef
8375
8366
  },
8376
- /* @__PURE__ */ import_react52.default.createElement(
8367
+ /* @__PURE__ */ import_react53.default.createElement(
8377
8368
  Card,
8378
8369
  {
8379
8370
  className: cn(
@@ -8382,7 +8373,7 @@ var DestroyableCard = ({
8382
8373
  ),
8383
8374
  dir: direction
8384
8375
  },
8385
- /* @__PURE__ */ import_react52.default.createElement(
8376
+ /* @__PURE__ */ import_react53.default.createElement(
8386
8377
  "button",
8387
8378
  {
8388
8379
  type: "button",
@@ -8401,7 +8392,7 @@ var DestroyableCard = ({
8401
8392
  }, 200);
8402
8393
  }
8403
8394
  },
8404
- /* @__PURE__ */ import_react52.default.createElement(
8395
+ /* @__PURE__ */ import_react53.default.createElement(
8405
8396
  "svg",
8406
8397
  {
8407
8398
  "aria-hidden": "true",
@@ -8409,7 +8400,7 @@ var DestroyableCard = ({
8409
8400
  fill: "currentColor",
8410
8401
  viewBox: "0 0 20 20"
8411
8402
  },
8412
- /* @__PURE__ */ import_react52.default.createElement(
8403
+ /* @__PURE__ */ import_react53.default.createElement(
8413
8404
  "path",
8414
8405
  {
8415
8406
  fillRule: "evenodd",
@@ -8419,13 +8410,13 @@ var DestroyableCard = ({
8419
8410
  )
8420
8411
  )
8421
8412
  ),
8422
- /* @__PURE__ */ import_react52.default.createElement(CardContent, { headless: true }, props.children)
8413
+ /* @__PURE__ */ import_react53.default.createElement(CardContent, { headless: true }, props.children)
8423
8414
  )
8424
8415
  );
8425
8416
  };
8426
8417
 
8427
8418
  // elements/interfaceSettings/InterfaceSettings.tsx
8428
- var import_react53 = __toESM(require("react"));
8419
+ var import_react54 = __toESM(require("react"));
8429
8420
  var InterfaceSettings = ({
8430
8421
  orientation = "horizontal",
8431
8422
  width = "default",
@@ -8433,13 +8424,13 @@ var InterfaceSettings = ({
8433
8424
  handleLanguage,
8434
8425
  ...props
8435
8426
  }) => {
8436
- const [color, setColor] = (0, import_react53.useState)(props.currentColorMode);
8437
- const [language, setLanguage] = (0, import_react53.useState)(props.currentLanguage);
8427
+ const [color, setColor] = (0, import_react54.useState)(props.currentColorMode);
8428
+ const [language, setLanguage] = (0, import_react54.useState)(props.currentLanguage);
8438
8429
  let orientationStyle = {
8439
8430
  horizontal: "hawa-flex hawa-flex-row hawa-justify-between",
8440
8431
  vertical: "hawa-flex hawa-flex-col hawa-items-center hawa-gap-2"
8441
8432
  };
8442
- return /* @__PURE__ */ import_react53.default.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ import_react53.default.createElement(
8433
+ return /* @__PURE__ */ import_react54.default.createElement("div", { className: cn(orientationStyle[orientation]) }, /* @__PURE__ */ import_react54.default.createElement(
8443
8434
  Radio,
8444
8435
  {
8445
8436
  name: "language",
@@ -8457,7 +8448,7 @@ var InterfaceSettings = ({
8457
8448
  { value: "en", label: "English" }
8458
8449
  ]
8459
8450
  }
8460
- ), /* @__PURE__ */ import_react53.default.createElement(
8451
+ ), /* @__PURE__ */ import_react54.default.createElement(
8461
8452
  Radio,
8462
8453
  {
8463
8454
  name: "theme",
@@ -8473,7 +8464,7 @@ var InterfaceSettings = ({
8473
8464
  options: [
8474
8465
  {
8475
8466
  value: "light",
8476
- label: /* @__PURE__ */ import_react53.default.createElement(
8467
+ label: /* @__PURE__ */ import_react54.default.createElement(
8477
8468
  "svg",
8478
8469
  {
8479
8470
  width: "15",
@@ -8483,7 +8474,7 @@ var InterfaceSettings = ({
8483
8474
  xmlns: "http://www.w3.org/2000/svg",
8484
8475
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-rotate-0 hawa-scale-100 hawa-transition-all dark:hawa--rotate-90"
8485
8476
  },
8486
- /* @__PURE__ */ import_react53.default.createElement(
8477
+ /* @__PURE__ */ import_react54.default.createElement(
8487
8478
  "path",
8488
8479
  {
8489
8480
  d: "M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",
@@ -8494,7 +8485,7 @@ var InterfaceSettings = ({
8494
8485
  },
8495
8486
  {
8496
8487
  value: "dark",
8497
- label: /* @__PURE__ */ import_react53.default.createElement(
8488
+ label: /* @__PURE__ */ import_react54.default.createElement(
8498
8489
  "svg",
8499
8490
  {
8500
8491
  xmlns: "http://www.w3.org/2000/svg",
@@ -8505,7 +8496,7 @@ var InterfaceSettings = ({
8505
8496
  stroke: "currentColor",
8506
8497
  className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-transition-all dark:hawa-rotate-0 dark:hawa-scale-100"
8507
8498
  },
8508
- /* @__PURE__ */ import_react53.default.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
8499
+ /* @__PURE__ */ import_react54.default.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
8509
8500
  )
8510
8501
  }
8511
8502
  ]
@@ -8514,14 +8505,14 @@ var InterfaceSettings = ({
8514
8505
  };
8515
8506
 
8516
8507
  // elements/phoneMockup/PhoneMockup.tsx
8517
- var import_react54 = __toESM(require("react"));
8508
+ var import_react55 = __toESM(require("react"));
8518
8509
  var PhoneMockup = ({
8519
8510
  children,
8520
8511
  upperOverlayGradiant,
8521
8512
  lowerOverlayGradiant,
8522
8513
  phone,
8523
8514
  hideButtons
8524
- }) => /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-relative hawa-mx-auto hawa-h-[600px] hawa-w-[300px] hawa-rounded-[2.5rem] hawa-border-[14px] hawa-border-gray-800 hawa-bg-gray-800 hawa-dark:border-gray-800" }, !hideButtons && /* @__PURE__ */ import_react54.default.createElement(import_react54.default.Fragment, null, /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[72px] hawa-h-[32px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[124px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[178px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-absolute hawa--right-[16px] hawa-top-[142px] hawa-h-[64px] hawa-w-[3px] hawa-rounded-r-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" })), /* @__PURE__ */ import_react54.default.createElement("div", { className: "no-scrollbar hawa-left-0 hawa-h-[572px] hawa-w-[272px] hawa-overflow-y-scroll hawa-rounded-[2rem] hawa-bg-white hawa-[clip-path:inset(0px_-1px_0px_0px_round_2rem)] hawa-dark:bg-gray-800" }, children), upperOverlayGradiant && /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-left-0 hawa-top-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-t-[2rem] hawa-bg-gradient-to-t hawa-from-transparent hawa-to-black hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }), lowerOverlayGradiant && /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-bottom-0 hawa-left-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-b-[2rem] hawa-bg-gradient-to-t hawa-from-black hawa-to-transparent hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }));
8515
+ }) => /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-relative hawa-mx-auto hawa-h-[600px] hawa-w-[300px] hawa-rounded-[2.5rem] hawa-border-[14px] hawa-border-gray-800 hawa-bg-gray-800 hawa-dark:border-gray-800" }, !hideButtons && /* @__PURE__ */ import_react55.default.createElement(import_react55.default.Fragment, null, /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[72px] hawa-h-[32px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[124px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-absolute hawa--left-[16px] hawa-top-[178px] hawa-h-[46px] hawa-w-[3px] hawa-rounded-l-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" }), /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-absolute hawa--right-[16px] hawa-top-[142px] hawa-h-[64px] hawa-w-[3px] hawa-rounded-r-lg hawa-bg-gray-800 hawa-dark:bg-gray-800" })), /* @__PURE__ */ import_react55.default.createElement("div", { className: "no-scrollbar hawa-left-0 hawa-h-[572px] hawa-w-[272px] hawa-overflow-y-scroll hawa-rounded-[2rem] hawa-bg-white hawa-[clip-path:inset(0px_-1px_0px_0px_round_2rem)] hawa-dark:bg-gray-800" }, children), upperOverlayGradiant && /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-left-0 hawa-top-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-t-[2rem] hawa-bg-gradient-to-t hawa-from-transparent hawa-to-black hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }), lowerOverlayGradiant && /* @__PURE__ */ import_react55.default.createElement("div", { className: "hawa-pointer-events-none hawa-absolute hawa-bottom-0 hawa-left-0 hawa-h-[72px] hawa-w-[272px] hawa-rounded-b-[2rem] hawa-bg-gradient-to-t hawa-from-black hawa-to-transparent hawa-opacity-50 hawa-[clip-path:inset(0px_0px_0px_0px_round_0rem)]" }));
8525
8516
  // Annotate the CommonJS export names for ESM import in node:
8526
8517
  0 && (module.exports = {
8527
8518
  Accordion,
@@ -8615,6 +8606,10 @@ var PhoneMockup = ({
8615
8606
  PhoneInput,
8616
8607
  PhoneMockup,
8617
8608
  PinInput,
8609
+ PinInputGroup,
8610
+ PinInputRoot,
8611
+ PinInputSeperator,
8612
+ PinInputSlot,
8618
8613
  Popover,
8619
8614
  PopoverContent,
8620
8615
  PopoverPortal,
@@ -8670,3 +8665,53 @@ var PhoneMockup = ({
8670
8665
  buttonVariants,
8671
8666
  navigationMenuTriggerStyle
8672
8667
  });
8668
+ /*! Bundled license information:
8669
+
8670
+ lucide-react/dist/esm/shared/src/utils.js:
8671
+ (**
8672
+ * @license lucide-react v0.379.0 - ISC
8673
+ *
8674
+ * This source code is licensed under the ISC license.
8675
+ * See the LICENSE file in the root directory of this source tree.
8676
+ *)
8677
+
8678
+ lucide-react/dist/esm/defaultAttributes.js:
8679
+ (**
8680
+ * @license lucide-react v0.379.0 - ISC
8681
+ *
8682
+ * This source code is licensed under the ISC license.
8683
+ * See the LICENSE file in the root directory of this source tree.
8684
+ *)
8685
+
8686
+ lucide-react/dist/esm/Icon.js:
8687
+ (**
8688
+ * @license lucide-react v0.379.0 - ISC
8689
+ *
8690
+ * This source code is licensed under the ISC license.
8691
+ * See the LICENSE file in the root directory of this source tree.
8692
+ *)
8693
+
8694
+ lucide-react/dist/esm/createLucideIcon.js:
8695
+ (**
8696
+ * @license lucide-react v0.379.0 - ISC
8697
+ *
8698
+ * This source code is licensed under the ISC license.
8699
+ * See the LICENSE file in the root directory of this source tree.
8700
+ *)
8701
+
8702
+ lucide-react/dist/esm/icons/dot.js:
8703
+ (**
8704
+ * @license lucide-react v0.379.0 - ISC
8705
+ *
8706
+ * This source code is licensed under the ISC license.
8707
+ * See the LICENSE file in the root directory of this source tree.
8708
+ *)
8709
+
8710
+ lucide-react/dist/esm/lucide-react.js:
8711
+ (**
8712
+ * @license lucide-react v0.379.0 - ISC
8713
+ *
8714
+ * This source code is licensed under the ISC license.
8715
+ * See the LICENSE file in the root directory of this source tree.
8716
+ *)
8717
+ */