@sikka/hawa 0.26.19-next → 0.26.20

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 (188) hide show
  1. package/dist/accordion/index.js +10 -12
  2. package/dist/accordion/index.mjs +8 -8
  3. package/dist/alert/index.js +8 -7
  4. package/dist/alert/index.mjs +7 -6
  5. package/dist/appLayout/index.js +13 -12
  6. package/dist/appLayout/index.mjs +12 -11
  7. package/dist/appMenubar/index.js +4 -4
  8. package/dist/appMenubar/index.mjs +2 -2
  9. package/dist/appStores/index.js +2 -2
  10. package/dist/appStores/index.mjs +1 -1
  11. package/dist/appTabs/index.js +4 -4
  12. package/dist/appTabs/index.mjs +2 -2
  13. package/dist/appTopbar/index.js +6 -6
  14. package/dist/appTopbar/index.mjs +4 -4
  15. package/dist/avatar/index.js +5 -5
  16. package/dist/avatar/index.mjs +4 -4
  17. package/dist/backToTop/index.js +8 -7
  18. package/dist/backToTop/index.mjs +7 -6
  19. package/dist/badge/index.js +4 -4
  20. package/dist/badge/index.mjs +2 -2
  21. package/dist/blocks/auth/index.js +38 -37
  22. package/dist/blocks/auth/index.mjs +24 -24
  23. package/dist/blocks/feedback/index.js +27 -26
  24. package/dist/blocks/feedback/index.mjs +11 -11
  25. package/dist/blocks/index.js +77 -76
  26. package/dist/blocks/index.mjs +34 -34
  27. package/dist/blocks/misc/index.js +31 -30
  28. package/dist/blocks/misc/index.mjs +14 -14
  29. package/dist/blocks/pricing/index.js +123 -122
  30. package/dist/blocks/pricing/index.mjs +18 -18
  31. package/dist/breadcrumb/index.js +2 -2
  32. package/dist/breadcrumb/index.mjs +1 -1
  33. package/dist/button/index.js +6 -5
  34. package/dist/button/index.mjs +5 -4
  35. package/dist/card/index.js +4 -4
  36. package/dist/card/index.mjs +2 -2
  37. package/dist/carousel/index.d.mts +1 -1
  38. package/dist/carousel/index.d.ts +1 -1
  39. package/dist/carousel/index.js +9 -18
  40. package/dist/carousel/index.mjs +7 -16
  41. package/dist/checkbox/index.js +4 -4
  42. package/dist/checkbox/index.mjs +2 -2
  43. package/dist/chip/index.js +4 -4
  44. package/dist/chip/index.mjs +2 -2
  45. package/dist/{chunk-343SRWR4.mjs → chunk-3GBITBPL.mjs} +2 -2
  46. package/dist/{chunk-TTKRRN7S.mjs → chunk-4IOG44R3.mjs} +2 -2
  47. package/dist/{chunk-3N6JJKMN.mjs → chunk-65TG6EVD.mjs} +5 -4
  48. package/dist/{chunk-LT3VHLAG.mjs → chunk-APZM24KK.mjs} +2 -2
  49. package/dist/{chunk-FYH74ZRQ.mjs → chunk-AREFDTXK.mjs} +9 -8
  50. package/dist/{chunk-FNVYY7ND.mjs → chunk-D22AALLE.mjs} +1 -1
  51. package/dist/{chunk-OD5WIQGQ.mjs → chunk-FDKCMEMD.mjs} +2 -2
  52. package/dist/{chunk-KNHT2UBG.mjs → chunk-KMCIHW76.mjs} +2 -2
  53. package/dist/{chunk-M2ZS3EDT.mjs → chunk-OAXF3RCQ.mjs} +2 -2
  54. package/dist/chunk-OTGCLEKC.mjs +62 -0
  55. package/dist/{chunk-OE23TTPS.mjs → chunk-POIP5U4M.mjs} +3 -3
  56. package/dist/{chunk-EYUG3GRC.mjs → chunk-SJ2Z6ZOG.mjs} +4 -4
  57. package/dist/{chunk-WRZFWCOQ.mjs → chunk-TGZRVRLP.mjs} +4 -4
  58. package/dist/{chunk-TE3BKEXL.mjs → chunk-TWNGV3RE.mjs} +1 -1
  59. package/dist/{chunk-ATUSR6VI.mjs → chunk-U3TZWNDZ.mjs} +4 -4
  60. package/dist/{chunk-W77KCP35.mjs → chunk-VQQ6MUX5.mjs} +2 -2
  61. package/dist/{chunk-SUS6O2PO.mjs → chunk-WPSUV4AD.mjs} +21 -21
  62. package/dist/{chunk-3KMBSNM3.mjs → chunk-Z5SL5QTQ.mjs} +11 -10
  63. package/dist/{chunk-ZCZ3WARS.mjs → chunk-ZS3FB3PO.mjs} +1 -1
  64. package/dist/codeBlock/index.js +153 -2454
  65. package/dist/codeBlock/index.mjs +129 -2393
  66. package/dist/collapsible/index.js +2 -2
  67. package/dist/collapsible/index.mjs +1 -1
  68. package/dist/colorPicker/index.js +7 -7
  69. package/dist/colorPicker/index.mjs +126 -2
  70. package/dist/combobox/index.js +193 -193
  71. package/dist/combobox/index.mjs +8 -8
  72. package/dist/command/index.js +5 -5
  73. package/dist/command/index.mjs +1 -1
  74. package/dist/copyrights/index.js +2 -2
  75. package/dist/copyrights/index.mjs +1 -1
  76. package/dist/count/index.js +2 -2
  77. package/dist/count/index.mjs +1 -1
  78. package/dist/dataTable/index.js +16 -15
  79. package/dist/dataTable/index.mjs +15 -14
  80. package/dist/destroyableCard/index.js +6 -8
  81. package/dist/destroyableCard/index.mjs +4 -4
  82. package/dist/dialog/index.js +4 -4
  83. package/dist/dialog/index.mjs +2 -2
  84. package/dist/docsLayout/index.js +12 -11
  85. package/dist/docsLayout/index.mjs +11 -10
  86. package/dist/docsSidebar/index.js +4 -4
  87. package/dist/docsSidebar/index.mjs +2 -2
  88. package/dist/dropdownMenu/index.js +4 -4
  89. package/dist/dropdownMenu/index.mjs +2 -2
  90. package/dist/elements/index.d.mts +1 -1
  91. package/dist/elements/index.d.ts +1 -1
  92. package/dist/elements/index.js +155 -163
  93. package/dist/elements/index.mjs +47 -56
  94. package/dist/fileDropzone/index.js +10 -9
  95. package/dist/fileDropzone/index.mjs +9 -8
  96. package/dist/fileUploader/index.js +2 -2
  97. package/dist/fileUploader/index.mjs +1 -1
  98. package/dist/glow/index.js +2 -2
  99. package/dist/glow/index.mjs +1 -1
  100. package/dist/hooks/index.d.mts +7 -7
  101. package/dist/hooks/index.d.ts +7 -7
  102. package/dist/hooks/index.js +16 -16
  103. package/dist/hooks/index.mjs +14 -14
  104. package/dist/index.css +0 -465
  105. package/dist/index.d.mts +8 -8
  106. package/dist/index.d.ts +8 -8
  107. package/dist/index.js +213 -221
  108. package/dist/index.mjs +212 -220
  109. package/dist/input/index.js +8 -8
  110. package/dist/input/index.mjs +4 -4
  111. package/dist/interfaceSettings/index.js +9 -9
  112. package/dist/interfaceSettings/index.mjs +4 -4
  113. package/dist/label/index.js +5 -5
  114. package/dist/label/index.mjs +4 -4
  115. package/dist/layout/index.d.mts +1 -1
  116. package/dist/layout/index.d.ts +1 -1
  117. package/dist/layout/index.js +31 -30
  118. package/dist/layout/index.mjs +16 -16
  119. package/dist/loading/index.js +4 -4
  120. package/dist/loading/index.mjs +2 -2
  121. package/dist/logos/index.js +2 -2
  122. package/dist/logos/index.mjs +1 -1
  123. package/dist/navbar/index.js +5 -5
  124. package/dist/navbar/index.mjs +4 -4
  125. package/dist/navigationMenu/index.js +4 -4
  126. package/dist/navigationMenu/index.mjs +2 -2
  127. package/dist/pagination/index.js +4 -4
  128. package/dist/pagination/index.mjs +2 -2
  129. package/dist/passwordInput/index.js +15 -15
  130. package/dist/passwordInput/index.mjs +13 -13
  131. package/dist/phoneInput/index.js +11 -11
  132. package/dist/phoneInput/index.mjs +10 -10
  133. package/dist/pinInput/index.js +4 -4
  134. package/dist/pinInput/index.mjs +2 -2
  135. package/dist/popover/index.js +4 -4
  136. package/dist/popover/index.mjs +2 -2
  137. package/dist/progress/index.js +4 -4
  138. package/dist/progress/index.mjs +2 -2
  139. package/dist/progressCircle/index.js +4 -4
  140. package/dist/progressCircle/index.mjs +2 -2
  141. package/dist/radio/index.js +7 -7
  142. package/dist/radio/index.mjs +6 -6
  143. package/dist/scrollArea/index.js +4 -4
  144. package/dist/scrollArea/index.mjs +2 -2
  145. package/dist/scrollIndicator/index.js +2 -2
  146. package/dist/scrollIndicator/index.mjs +1 -1
  147. package/dist/select/index.js +8 -8
  148. package/dist/select/index.mjs +7 -7
  149. package/dist/separator/index.js +4 -4
  150. package/dist/separator/index.mjs +2 -2
  151. package/dist/sheet/index.js +4 -4
  152. package/dist/sheet/index.mjs +2 -2
  153. package/dist/sidebar/index.js +6 -6
  154. package/dist/sidebar/index.mjs +4 -4
  155. package/dist/signature/index.js +8 -8
  156. package/dist/signature/index.mjs +6 -6
  157. package/dist/simpleTable/index.js +6 -6
  158. package/dist/simpleTable/index.mjs +5 -5
  159. package/dist/skeleton/index.js +4 -4
  160. package/dist/skeleton/index.mjs +2 -2
  161. package/dist/slider/index.js +4 -4
  162. package/dist/slider/index.mjs +2 -2
  163. package/dist/sortButton/index.js +8 -7
  164. package/dist/sortButton/index.mjs +2 -2
  165. package/dist/splitButton/index.js +9 -8
  166. package/dist/splitButton/index.mjs +4 -4
  167. package/dist/stats/index.js +7 -7
  168. package/dist/stats/index.mjs +6 -6
  169. package/dist/stopPropagationWrapper/index.js +2 -2
  170. package/dist/stopPropagationWrapper/index.mjs +1 -1
  171. package/dist/switch/index.js +4 -4
  172. package/dist/switch/index.mjs +2 -2
  173. package/dist/table/index.js +4 -4
  174. package/dist/table/index.mjs +2 -2
  175. package/dist/tabs/index.js +5 -5
  176. package/dist/tabs/index.mjs +4 -4
  177. package/dist/textarea/index.js +7 -7
  178. package/dist/textarea/index.mjs +6 -6
  179. package/dist/toast/index.js +4 -4
  180. package/dist/toast/index.mjs +2 -2
  181. package/dist/toaster/index.js +6 -6
  182. package/dist/toaster/index.mjs +5 -5
  183. package/dist/tooltip/index.js +4 -4
  184. package/dist/tooltip/index.mjs +3 -3
  185. package/dist/types/index.js +1 -1
  186. package/package.json +16 -42
  187. package/README.md +0 -107
  188. package/dist/chunk-S36W2LDN.mjs +0 -189
@@ -27,33 +27,175 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
- // components/elements/combobox/index.ts
30
+ // elements/combobox/index.ts
31
31
  var combobox_exports = {};
32
32
  __export(combobox_exports, {
33
33
  Combobox: () => Combobox
34
34
  });
35
35
  module.exports = __toCommonJS(combobox_exports);
36
36
 
37
- // components/elements/combobox/Combobox.tsx
37
+ // elements/combobox/Combobox.tsx
38
38
  var React7 = __toESM(require("react"));
39
39
  var PopoverPrimitive2 = __toESM(require("@radix-ui/react-popover"));
40
40
 
41
- // components/elements/command/Command.tsx
41
+ // elements/label/Label.tsx
42
42
  var React2 = __toESM(require("react"));
43
- var import_cmdk = require("cmdk");
44
43
 
45
- // components/util.ts
44
+ // util/index.ts
46
45
  var import_clsx = require("clsx");
47
46
  var import_tailwind_merge = require("tailwind-merge");
48
47
  function cn(...inputs) {
49
48
  return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
50
49
  }
51
50
 
52
- // components/elements/dialog/Dialog.tsx
53
- var React = __toESM(require("react"));
51
+ // elements/tooltip/Tooltip.tsx
52
+ var import_react = __toESM(require("react"));
53
+ var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
54
+ var TooltipContent = import_react.default.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(
55
+ TooltipPrimitive.Content,
56
+ {
57
+ ref,
58
+ sideOffset,
59
+ className: cn(
60
+ "hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-text-popover-foreground hawa-shadow-md hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95 data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=closed]:hawa-zoom-out-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
61
+ className
62
+ ),
63
+ ...props
64
+ }
65
+ ));
66
+ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
67
+ var TooltipArrow = import_react.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
68
+ TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
69
+ var Tooltip = ({
70
+ side,
71
+ open,
72
+ content,
73
+ children,
74
+ defaultOpen,
75
+ onOpenChange,
76
+ triggerProps,
77
+ contentProps,
78
+ providerProps,
79
+ delayDuration = 300,
80
+ ...props
81
+ }) => {
82
+ return /* @__PURE__ */ import_react.default.createElement(
83
+ TooltipPrimitive.TooltipProvider,
84
+ {
85
+ delayDuration,
86
+ ...providerProps
87
+ },
88
+ /* @__PURE__ */ import_react.default.createElement(
89
+ TooltipPrimitive.Root,
90
+ {
91
+ open,
92
+ defaultOpen,
93
+ onOpenChange,
94
+ ...props
95
+ },
96
+ /* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
97
+ /* @__PURE__ */ import_react.default.createElement(TooltipContent, { side, align: "center", ...contentProps }, content)
98
+ )
99
+ );
100
+ };
101
+
102
+ // elements/label/Label.tsx
103
+ var Label = React2.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React2.createElement(
104
+ "label",
105
+ {
106
+ ref,
107
+ className: cn(
108
+ "hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
109
+ className
110
+ ),
111
+ ...props
112
+ },
113
+ children,
114
+ required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
115
+ ), hint && /* @__PURE__ */ React2.createElement(
116
+ Tooltip,
117
+ {
118
+ content: hint,
119
+ side: hintSide,
120
+ triggerProps: {
121
+ tabIndex: -1,
122
+ onClick: (event) => event.preventDefault()
123
+ }
124
+ },
125
+ /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
126
+ "svg",
127
+ {
128
+ xmlns: "http://www.w3.org/2000/svg",
129
+ className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
130
+ viewBox: "0 0 24 24",
131
+ fill: "none",
132
+ stroke: "currentColor",
133
+ strokeWidth: "2",
134
+ strokeLinecap: "round",
135
+ strokeLinejoin: "round"
136
+ },
137
+ /* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
138
+ /* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
139
+ /* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
140
+ ))
141
+ )));
142
+ Label.displayName = "Label";
143
+
144
+ // elements/popover/Popover.tsx
145
+ var React3 = __toESM(require("react"));
146
+ var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
147
+ var PopoverContent = React3.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React3.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React3.createElement(
148
+ PopoverPrimitive.Content,
149
+ {
150
+ ref,
151
+ align,
152
+ sideOffset,
153
+ className: cn(
154
+ "dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
155
+ className
156
+ ),
157
+ ...props
158
+ }
159
+ )));
160
+ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
161
+ var PopoverTrigger = PopoverPrimitive.Trigger;
162
+
163
+ // elements/skeleton/Skeleton.tsx
164
+ var import_react2 = __toESM(require("react"));
165
+ function Skeleton({
166
+ className,
167
+ content,
168
+ animation = "pulse",
169
+ ...props
170
+ }) {
171
+ const animationStyles = {
172
+ none: "hawa-rounded hawa-bg-muted",
173
+ pulse: "hawa-animate-pulse hawa-rounded hawa-bg-muted",
174
+ shimmer: "hawa-space-y-5 hawa-rounded hawa-bg-muted hawa-p-4 hawa-relative before:hawa-absolute before:hawa-inset-0 before:hawa--translate-x-full before:hawa-animate-[shimmer_2s_infinite] before:hawa-bg-gradient-to-r before:hawa-from-transparent before:hawa-via-gray-300/40 dark:before:hawa-via-white/10 before:hawa-to-transparent hawa-isolate hawa-overflow-hidden before:hawa-border-t before:hawa-border-rose-100/10"
175
+ };
176
+ return /* @__PURE__ */ import_react2.default.createElement(
177
+ "div",
178
+ {
179
+ className: cn(
180
+ animationStyles[animation],
181
+ content && "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center",
182
+ className
183
+ ),
184
+ ...props
185
+ },
186
+ content && content
187
+ );
188
+ }
189
+
190
+ // elements/command/Command.tsx
191
+ var React6 = __toESM(require("react"));
192
+ var import_cmdk = require("cmdk");
193
+
194
+ // elements/dialog/Dialog.tsx
195
+ var React5 = __toESM(require("react"));
54
196
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
55
- var DialogPortal = ({ ...props }) => /* @__PURE__ */ React.createElement(DialogPrimitive.Portal, { ...props });
56
- var DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
197
+ var DialogPortal = ({ ...props }) => /* @__PURE__ */ React5.createElement(DialogPrimitive.Portal, { ...props });
198
+ var DialogOverlay = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React5.createElement(
57
199
  DialogPrimitive.Overlay,
58
200
  {
59
201
  ref,
@@ -64,7 +206,7 @@ var DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
64
206
  ...props
65
207
  }
66
208
  ));
67
- var DialogContent = React.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React.createElement(DialogPortal, null, /* @__PURE__ */ React.createElement(DialogOverlay, null), /* @__PURE__ */ React.createElement(
209
+ var DialogContent = React5.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React5.createElement(DialogPortal, null, /* @__PURE__ */ React5.createElement(DialogOverlay, null), /* @__PURE__ */ React5.createElement(
68
210
  DialogPrimitive.Content,
69
211
  {
70
212
  onPointerDownOutside: (e) => {
@@ -80,7 +222,7 @@ var DialogContent = React.forwardRef(({ className, children, persist, hideCloseB
80
222
  ...props
81
223
  },
82
224
  children,
83
- !hideCloseButton && /* @__PURE__ */ React.createElement(
225
+ !hideCloseButton && /* @__PURE__ */ React5.createElement(
84
226
  DialogPrimitive.Close,
85
227
  {
86
228
  className: cn(
@@ -88,7 +230,7 @@ var DialogContent = React.forwardRef(({ className, children, persist, hideCloseB
88
230
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
89
231
  )
90
232
  },
91
- /* @__PURE__ */ React.createElement(
233
+ /* @__PURE__ */ React5.createElement(
92
234
  "svg",
93
235
  {
94
236
  "aria-label": "Close Icon",
@@ -97,7 +239,7 @@ var DialogContent = React.forwardRef(({ className, children, persist, hideCloseB
97
239
  fill: "currentColor",
98
240
  viewBox: "0 0 20 20"
99
241
  },
100
- /* @__PURE__ */ React.createElement(
242
+ /* @__PURE__ */ React5.createElement(
101
243
  "path",
102
244
  {
103
245
  fillRule: "evenodd",
@@ -106,10 +248,10 @@ var DialogContent = React.forwardRef(({ className, children, persist, hideCloseB
106
248
  }
107
249
  )
108
250
  ),
109
- /* @__PURE__ */ React.createElement("span", { className: "hawa-sr-only" }, "Close")
251
+ /* @__PURE__ */ React5.createElement("span", { className: "hawa-sr-only" }, "Close")
110
252
  )
111
253
  )));
112
- var DialogCarouselContent = React.forwardRef(
254
+ var DialogCarouselContent = React5.forwardRef(
113
255
  ({
114
256
  className,
115
257
  children,
@@ -118,7 +260,7 @@ var DialogCarouselContent = React.forwardRef(
118
260
  hideCloseButton,
119
261
  hidePrevButton,
120
262
  ...props
121
- }, ref) => /* @__PURE__ */ React.createElement(DialogPortal, null, /* @__PURE__ */ React.createElement(DialogOverlay, null), /* @__PURE__ */ React.createElement(
263
+ }, ref) => /* @__PURE__ */ React5.createElement(DialogPortal, null, /* @__PURE__ */ React5.createElement(DialogOverlay, null), /* @__PURE__ */ React5.createElement(
122
264
  DialogPrimitive.Content,
123
265
  {
124
266
  onPointerDownOutside: (e) => {
@@ -134,7 +276,7 @@ var DialogCarouselContent = React.forwardRef(
134
276
  ...props
135
277
  },
136
278
  children,
137
- /* @__PURE__ */ React.createElement(
279
+ /* @__PURE__ */ React5.createElement(
138
280
  "div",
139
281
  {
140
282
  className: cn(
@@ -142,7 +284,7 @@ var DialogCarouselContent = React.forwardRef(
142
284
  onPrev ? "hawa-justify-between" : "hawa-justify-end"
143
285
  )
144
286
  },
145
- hidePrevButton ? /* @__PURE__ */ React.createElement("div", null) : /* @__PURE__ */ React.createElement(
287
+ hidePrevButton ? /* @__PURE__ */ React5.createElement("div", null) : /* @__PURE__ */ React5.createElement(
146
288
  "div",
147
289
  {
148
290
  onClick: onPrev,
@@ -151,7 +293,7 @@ var DialogCarouselContent = React.forwardRef(
151
293
  props.dir === "rtl" && "hawa-rotate-180"
152
294
  )
153
295
  },
154
- /* @__PURE__ */ React.createElement(
296
+ /* @__PURE__ */ React5.createElement(
155
297
  "svg",
156
298
  {
157
299
  xmlns: "http://www.w3.org/2000/svg",
@@ -165,10 +307,10 @@ var DialogCarouselContent = React.forwardRef(
165
307
  strokeLinecap: "round",
166
308
  strokeLinejoin: "round"
167
309
  },
168
- /* @__PURE__ */ React.createElement("path", { d: "m15 18-6-6 6-6" })
310
+ /* @__PURE__ */ React5.createElement("path", { d: "m15 18-6-6 6-6" })
169
311
  )
170
312
  ),
171
- !hideCloseButton && /* @__PURE__ */ React.createElement(
313
+ !hideCloseButton && /* @__PURE__ */ React5.createElement(
172
314
  DialogPrimitive.Close,
173
315
  {
174
316
  className: cn(
@@ -176,7 +318,7 @@ var DialogCarouselContent = React.forwardRef(
176
318
  props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
177
319
  )
178
320
  },
179
- /* @__PURE__ */ React.createElement(
321
+ /* @__PURE__ */ React5.createElement(
180
322
  "svg",
181
323
  {
182
324
  "aria-label": "Close Icon",
@@ -185,7 +327,7 @@ var DialogCarouselContent = React.forwardRef(
185
327
  fill: "currentColor",
186
328
  viewBox: "0 0 20 20"
187
329
  },
188
- /* @__PURE__ */ React.createElement(
330
+ /* @__PURE__ */ React5.createElement(
189
331
  "path",
190
332
  {
191
333
  fillRule: "evenodd",
@@ -194,7 +336,7 @@ var DialogCarouselContent = React.forwardRef(
194
336
  }
195
337
  )
196
338
  ),
197
- /* @__PURE__ */ React.createElement("span", { className: "hawa-sr-only" }, "Close")
339
+ /* @__PURE__ */ React5.createElement("span", { className: "hawa-sr-only" }, "Close")
198
340
  )
199
341
  )
200
342
  ))
@@ -202,7 +344,7 @@ var DialogCarouselContent = React.forwardRef(
202
344
  var DialogHeader = ({
203
345
  className,
204
346
  ...props
205
- }) => /* @__PURE__ */ React.createElement(
347
+ }) => /* @__PURE__ */ React5.createElement(
206
348
  "div",
207
349
  {
208
350
  className: cn(
@@ -212,7 +354,7 @@ var DialogHeader = ({
212
354
  ...props
213
355
  }
214
356
  );
215
- var DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
357
+ var DialogTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React5.createElement(
216
358
  DialogPrimitive.Title,
217
359
  {
218
360
  ref,
@@ -223,7 +365,7 @@ var DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
223
365
  ...props
224
366
  }
225
367
  ));
226
- var DialogDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
368
+ var DialogDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React5.createElement(
227
369
  DialogPrimitive.Description,
228
370
  {
229
371
  ref,
@@ -237,7 +379,7 @@ var DialogDescription = React.forwardRef(({ className, ...props }, ref) => /* @_
237
379
  var DialogFooter = ({
238
380
  className,
239
381
  ...props
240
- }) => /* @__PURE__ */ React.createElement(
382
+ }) => /* @__PURE__ */ React5.createElement(
241
383
  "div",
242
384
  {
243
385
  className: cn(
@@ -253,12 +395,12 @@ var DialogCarousel = ({
253
395
  children,
254
396
  direction
255
397
  }) => {
256
- React.useEffect(() => {
398
+ React5.useEffect(() => {
257
399
  if (stepsApi) {
258
400
  stepsApi.reInit();
259
401
  }
260
402
  }, [stepsApi, children]);
261
- return /* @__PURE__ */ React.createElement("div", { className: "hawa-overflow-hidden" }, /* @__PURE__ */ React.createElement("div", { ref: stepsRef, dir: direction }, /* @__PURE__ */ React.createElement(
403
+ return /* @__PURE__ */ React5.createElement("div", { className: "hawa-overflow-hidden" }, /* @__PURE__ */ React5.createElement("div", { ref: stepsRef, dir: direction }, /* @__PURE__ */ React5.createElement(
262
404
  "div",
263
405
  {
264
406
  className: "hawa-flex",
@@ -266,7 +408,7 @@ var DialogCarousel = ({
266
408
  transition: "height 0.2s"
267
409
  }
268
410
  },
269
- React.Children.map(children, (child, index) => /* @__PURE__ */ React.createElement(
411
+ React5.Children.map(children, (child, index) => /* @__PURE__ */ React5.createElement(
270
412
  "div",
271
413
  {
272
414
  className: cn(
@@ -283,14 +425,14 @@ var DialogSteps = ({
283
425
  visibleStepRef,
284
426
  children
285
427
  }) => {
286
- const [dialogHeight, setDialogHeight] = React.useState(null);
287
- React.useEffect(() => {
428
+ const [dialogHeight, setDialogHeight] = React5.useState(null);
429
+ React5.useEffect(() => {
288
430
  if (visibleStepRef.current) {
289
431
  setDialogHeight(visibleStepRef.current.offsetHeight);
290
432
  console.log("height is ", visibleStepRef.current.offsetHeight);
291
433
  }
292
434
  }, [currentStep, visibleStepRef]);
293
- return /* @__PURE__ */ React.createElement(
435
+ return /* @__PURE__ */ React5.createElement(
294
436
  "div",
295
437
  {
296
438
  className: "hawa-relative hawa-overflow-clip",
@@ -299,7 +441,7 @@ var DialogSteps = ({
299
441
  transition: "height 0.2s"
300
442
  }
301
443
  },
302
- React.Children.map(children, (child, index) => /* @__PURE__ */ React.createElement(
444
+ React5.Children.map(children, (child, index) => /* @__PURE__ */ React5.createElement(
303
445
  "div",
304
446
  {
305
447
  ref: currentStep === `step-${index + 1}` ? visibleStepRef : null,
@@ -317,7 +459,7 @@ var DialogStep = ({
317
459
  className,
318
460
  stepRef
319
461
  }) => {
320
- return /* @__PURE__ */ React.createElement(
462
+ return /* @__PURE__ */ React5.createElement(
321
463
  "div",
322
464
  {
323
465
  id,
@@ -328,7 +470,7 @@ var DialogStep = ({
328
470
  );
329
471
  };
330
472
  var DialogBody = ({ children, className }) => {
331
- return /* @__PURE__ */ React.createElement("div", { className: cn("hawa-py-6", className) }, children);
473
+ return /* @__PURE__ */ React5.createElement("div", { className: cn("hawa-py-6", className) }, children);
332
474
  };
333
475
  DialogBody.displayName = "DialogBody";
334
476
  DialogStep.displayName = "DialogStep";
@@ -343,8 +485,8 @@ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
343
485
  DialogContent.displayName = DialogPrimitive.Content.displayName;
344
486
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
345
487
 
346
- // components/elements/command/Command.tsx
347
- var Command = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
488
+ // elements/command/Command.tsx
489
+ var Command = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
348
490
  import_cmdk.Command,
349
491
  {
350
492
  ref,
@@ -356,13 +498,13 @@ var Command = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
356
498
  }
357
499
  ));
358
500
  Command.displayName = import_cmdk.Command.displayName;
359
- var CommandInput = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
501
+ var CommandInput = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
360
502
  "div",
361
503
  {
362
504
  className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
363
505
  "cmdk-input-wrapper": ""
364
506
  },
365
- /* @__PURE__ */ React2.createElement(
507
+ /* @__PURE__ */ React6.createElement(
366
508
  "svg",
367
509
  {
368
510
  "aria-label": "Search Icon",
@@ -377,10 +519,10 @@ var CommandInput = React2.forwardRef(({ className, ...props }, ref) => /* @__PUR
377
519
  strokeLinejoin: "round",
378
520
  className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
379
521
  },
380
- /* @__PURE__ */ React2.createElement("circle", { cx: "11", cy: "11", r: "8" }),
381
- /* @__PURE__ */ React2.createElement("path", { d: "m21 21-4.3-4.3" })
522
+ /* @__PURE__ */ React6.createElement("circle", { cx: "11", cy: "11", r: "8" }),
523
+ /* @__PURE__ */ React6.createElement("path", { d: "m21 21-4.3-4.3" })
382
524
  ),
383
- /* @__PURE__ */ React2.createElement(
525
+ /* @__PURE__ */ React6.createElement(
384
526
  import_cmdk.Command.Input,
385
527
  {
386
528
  ref,
@@ -393,7 +535,7 @@ var CommandInput = React2.forwardRef(({ className, ...props }, ref) => /* @__PUR
393
535
  )
394
536
  ));
395
537
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
396
- var CommandList = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
538
+ var CommandList = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
397
539
  import_cmdk.Command.List,
398
540
  {
399
541
  ref,
@@ -405,7 +547,7 @@ var CommandList = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE
405
547
  }
406
548
  ));
407
549
  CommandList.displayName = import_cmdk.Command.List.displayName;
408
- var CommandEmpty = React2.forwardRef((props, ref) => /* @__PURE__ */ React2.createElement(
550
+ var CommandEmpty = React6.forwardRef((props, ref) => /* @__PURE__ */ React6.createElement(
409
551
  import_cmdk.Command.Empty,
410
552
  {
411
553
  ref,
@@ -414,7 +556,7 @@ var CommandEmpty = React2.forwardRef((props, ref) => /* @__PURE__ */ React2.crea
414
556
  }
415
557
  ));
416
558
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
417
- var CommandGroup = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
559
+ var CommandGroup = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
418
560
  import_cmdk.Command.Group,
419
561
  {
420
562
  ref,
@@ -426,7 +568,7 @@ var CommandGroup = React2.forwardRef(({ className, ...props }, ref) => /* @__PUR
426
568
  }
427
569
  ));
428
570
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
429
- var CommandSeparator = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
571
+ var CommandSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
430
572
  import_cmdk.Command.Separator,
431
573
  {
432
574
  ref,
@@ -435,7 +577,7 @@ var CommandSeparator = React2.forwardRef(({ className, ...props }, ref) => /* @_
435
577
  }
436
578
  ));
437
579
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
438
- var CommandItem = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
580
+ var CommandItem = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
439
581
  import_cmdk.Command.Item,
440
582
  {
441
583
  ref,
@@ -451,7 +593,7 @@ var CommandShortcut = ({
451
593
  className,
452
594
  ...props
453
595
  }) => {
454
- return /* @__PURE__ */ React2.createElement(
596
+ return /* @__PURE__ */ React6.createElement(
455
597
  "span",
456
598
  {
457
599
  className: cn(
@@ -464,149 +606,7 @@ var CommandShortcut = ({
464
606
  };
465
607
  CommandShortcut.displayName = "CommandShortcut";
466
608
 
467
- // components/elements/label/Label.tsx
468
- var React4 = __toESM(require("react"));
469
-
470
- // components/elements/tooltip/Tooltip.tsx
471
- var import_react = __toESM(require("react"));
472
- var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
473
- var TooltipContent = import_react.default.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(
474
- TooltipPrimitive.Content,
475
- {
476
- ref,
477
- sideOffset,
478
- className: cn(
479
- "hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-text-popover-foreground hawa-shadow-md hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95 data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=closed]:hawa-zoom-out-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
480
- className
481
- ),
482
- ...props
483
- }
484
- ));
485
- TooltipContent.displayName = TooltipPrimitive.Content.displayName;
486
- var TooltipArrow = import_react.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
487
- TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
488
- var Tooltip = ({
489
- side,
490
- open,
491
- content,
492
- children,
493
- defaultOpen,
494
- onOpenChange,
495
- triggerProps,
496
- contentProps,
497
- providerProps,
498
- delayDuration = 300,
499
- ...props
500
- }) => {
501
- return /* @__PURE__ */ import_react.default.createElement(
502
- TooltipPrimitive.TooltipProvider,
503
- {
504
- delayDuration,
505
- ...providerProps
506
- },
507
- /* @__PURE__ */ import_react.default.createElement(
508
- TooltipPrimitive.Root,
509
- {
510
- open,
511
- defaultOpen,
512
- onOpenChange,
513
- ...props
514
- },
515
- /* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
516
- /* @__PURE__ */ import_react.default.createElement(TooltipContent, { side, align: "center", ...contentProps }, content)
517
- )
518
- );
519
- };
520
-
521
- // components/elements/label/Label.tsx
522
- var Label = React4.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React4.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React4.createElement(
523
- "label",
524
- {
525
- ref,
526
- className: cn(
527
- "hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
528
- className
529
- ),
530
- ...props
531
- },
532
- children,
533
- required && /* @__PURE__ */ React4.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
534
- ), hint && /* @__PURE__ */ React4.createElement(
535
- Tooltip,
536
- {
537
- content: hint,
538
- side: hintSide,
539
- triggerProps: {
540
- tabIndex: -1,
541
- onClick: (event) => event.preventDefault()
542
- }
543
- },
544
- /* @__PURE__ */ React4.createElement("div", null, /* @__PURE__ */ React4.createElement(
545
- "svg",
546
- {
547
- xmlns: "http://www.w3.org/2000/svg",
548
- className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
549
- viewBox: "0 0 24 24",
550
- fill: "none",
551
- stroke: "currentColor",
552
- strokeWidth: "2",
553
- strokeLinecap: "round",
554
- strokeLinejoin: "round"
555
- },
556
- /* @__PURE__ */ React4.createElement("circle", { cx: "12", cy: "12", r: "10" }),
557
- /* @__PURE__ */ React4.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
558
- /* @__PURE__ */ React4.createElement("path", { d: "M12 17h.01" })
559
- ))
560
- )));
561
- Label.displayName = "Label";
562
-
563
- // components/elements/popover/Popover.tsx
564
- var React5 = __toESM(require("react"));
565
- var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
566
- var PopoverContent = React5.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React5.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React5.createElement(
567
- PopoverPrimitive.Content,
568
- {
569
- ref,
570
- align,
571
- sideOffset,
572
- className: cn(
573
- "dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
574
- className
575
- ),
576
- ...props
577
- }
578
- )));
579
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
580
- var PopoverTrigger = PopoverPrimitive.Trigger;
581
-
582
- // components/elements/skeleton/Skeleton.tsx
583
- var import_react2 = __toESM(require("react"));
584
- function Skeleton({
585
- className,
586
- content,
587
- animation = "pulse",
588
- ...props
589
- }) {
590
- const animationStyles = {
591
- none: "hawa-rounded hawa-bg-muted",
592
- pulse: "hawa-animate-pulse hawa-rounded hawa-bg-muted",
593
- shimmer: "hawa-space-y-5 hawa-rounded hawa-bg-muted hawa-p-4 hawa-relative before:hawa-absolute before:hawa-inset-0 before:hawa--translate-x-full before:hawa-animate-[shimmer_2s_infinite] before:hawa-bg-gradient-to-r before:hawa-from-transparent before:hawa-via-gray-300/40 dark:before:hawa-via-white/10 before:hawa-to-transparent hawa-isolate hawa-overflow-hidden before:hawa-border-t before:hawa-border-rose-100/10"
594
- };
595
- return /* @__PURE__ */ import_react2.default.createElement(
596
- "div",
597
- {
598
- className: cn(
599
- animationStyles[animation],
600
- content && "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center",
601
- className
602
- ),
603
- ...props
604
- },
605
- content && content
606
- );
607
- }
608
-
609
- // components/elements/combobox/Combobox.tsx
609
+ // elements/combobox/Combobox.tsx
610
610
  var Combobox = React7.forwardRef(
611
611
  ({
612
612
  labelKey = "label",