@sikka/hawa 0.23.2-next → 0.23.7-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 (145) hide show
  1. package/dist/accordion/index.js +30 -2399
  2. package/dist/accordion/index.mjs +19 -461
  3. package/dist/alert/index.mjs +0 -1
  4. package/dist/appStores/index.js +75 -0
  5. package/dist/appStores/index.mjs +38 -0
  6. package/dist/avatar/index.mjs +118 -3
  7. package/dist/backToTop/index.mjs +102 -4
  8. package/dist/badge/index.js +127 -0
  9. package/dist/badge/index.mjs +84 -0
  10. package/dist/blocks/auth/index.js +1173 -3092
  11. package/dist/blocks/auth/index.mjs +16 -10
  12. package/dist/blocks/feedback/index.js +864 -2913
  13. package/dist/blocks/feedback/index.mjs +14 -8
  14. package/dist/blocks/index.js +5714 -5316
  15. package/dist/blocks/index.mjs +390 -45
  16. package/dist/blocks/misc/index.js +634 -2409
  17. package/dist/blocks/misc/index.mjs +14 -8
  18. package/dist/blocks/pricing/index.js +522 -524
  19. package/dist/blocks/pricing/index.mjs +1861 -45
  20. package/dist/breadcrumb/index.js +63 -0
  21. package/dist/breadcrumb/index.mjs +26 -0
  22. package/dist/card/index.mjs +83 -8
  23. package/dist/checkbox/index.mjs +138 -3
  24. package/dist/chip/index.js +129 -0
  25. package/dist/chip/index.mjs +8 -0
  26. package/dist/{chunk-X6PCWJYD.mjs → chunk-2R2QPJT7.mjs} +761 -1104
  27. package/dist/chunk-677VOLD4.mjs +464 -0
  28. package/dist/chunk-72HYR6WB.mjs +88 -0
  29. package/dist/chunk-A25EXELT.mjs +131 -0
  30. package/dist/{chunk-OE27DSIY.mjs → chunk-F6TKEDDP.mjs} +2 -4
  31. package/dist/{chunk-YFC2GSJ6.mjs → chunk-P2O6R3S6.mjs} +66 -5
  32. package/dist/{chunk-GXXX5UB4.mjs → chunk-QGKW5R5F.mjs} +59 -20
  33. package/dist/chunk-TR56G3NM.mjs +2350 -0
  34. package/dist/chunk-UAVBFK53.mjs +346 -0
  35. package/dist/combobox/index.mjs +153 -7
  36. package/dist/dataTable/index.mjs +355 -8
  37. package/dist/elements/index.js +800 -1148
  38. package/dist/elements/index.mjs +1 -11
  39. package/dist/fileDropzone/index.mjs +226 -4
  40. package/dist/index.js +1721 -1721
  41. package/dist/index.mjs +1663 -1663
  42. package/dist/layout/index.js +493 -510
  43. package/dist/layout/index.mjs +1 -1
  44. package/dist/loading/index.mjs +0 -1
  45. package/dist/logos/index.mjs +204 -3
  46. package/dist/navigationMenu/index.mjs +155 -13
  47. package/dist/phoneInput/index.js +2074 -0
  48. package/dist/phoneInput/index.mjs +1776 -0
  49. package/dist/pinInput/index.js +130 -0
  50. package/dist/pinInput/index.mjs +88 -0
  51. package/dist/progress/index.js +71 -0
  52. package/dist/progress/index.mjs +29 -0
  53. package/dist/radio/index.mjs +202 -4
  54. package/dist/scrollArea/index.js +90 -0
  55. package/dist/scrollArea/index.mjs +47 -0
  56. package/dist/select/index.mjs +1 -1
  57. package/dist/sheet/index.mjs +137 -12
  58. package/dist/sortButton/index.mjs +40 -4
  59. package/dist/stopPropagationWrapper/index.js +48 -0
  60. package/dist/stopPropagationWrapper/index.mjs +11 -0
  61. package/dist/switch/index.mjs +79 -3
  62. package/dist/tabs/index.js +1 -1
  63. package/dist/tabs/index.mjs +68 -6
  64. package/dist/textarea/index.mjs +54 -4
  65. package/package.json +2 -2
  66. package/dist/Chip-DJ6ThZc_.d.ts +0 -21
  67. package/dist/Chip-eal8vwDz.d.mts +0 -21
  68. package/dist/accordion/index.d.mts +0 -42
  69. package/dist/accordion/index.d.ts +0 -42
  70. package/dist/alert/index.d.mts +0 -28
  71. package/dist/alert/index.d.ts +0 -28
  72. package/dist/avatar/index.d.mts +0 -15
  73. package/dist/avatar/index.d.ts +0 -15
  74. package/dist/backToTop/index.d.mts +0 -15
  75. package/dist/backToTop/index.d.ts +0 -15
  76. package/dist/button/index.d.mts +0 -16
  77. package/dist/button/index.d.ts +0 -16
  78. package/dist/card/index.d.mts +0 -17
  79. package/dist/card/index.d.ts +0 -17
  80. package/dist/checkbox/index.d.mts +0 -20
  81. package/dist/checkbox/index.d.ts +0 -20
  82. package/dist/chunk-BK5WF7UO.mjs +0 -231
  83. package/dist/chunk-CXWYC6FS.mjs +0 -360
  84. package/dist/chunk-D2USGMDT.mjs +0 -208
  85. package/dist/chunk-DX4SLF2L.mjs +0 -45
  86. package/dist/chunk-ENNSA4VR.mjs +0 -5566
  87. package/dist/chunk-GXSYCLZZ.mjs +0 -158
  88. package/dist/chunk-IQPGAHUR.mjs +0 -107
  89. package/dist/chunk-POT2IP62.mjs +0 -123
  90. package/dist/chunk-TWDZB2VH.mjs +0 -151
  91. package/dist/chunk-VBTYVVA7.mjs +0 -93
  92. package/dist/chunk-VCGW5DIP.mjs +0 -170
  93. package/dist/chunk-X3SMPIA3.mjs +0 -0
  94. package/dist/chunk-XA646BZ2.mjs +0 -143
  95. package/dist/chunk-ZCUUQ5VV.mjs +0 -84
  96. package/dist/combobox/index.d.mts +0 -32
  97. package/dist/combobox/index.d.ts +0 -32
  98. package/dist/command/index.d.mts +0 -48
  99. package/dist/command/index.d.ts +0 -48
  100. package/dist/commonTypes-gbO4hPli.d.mts +0 -7
  101. package/dist/commonTypes-gbO4hPli.d.ts +0 -7
  102. package/dist/dataTable/index.d.mts +0 -39
  103. package/dist/dataTable/index.d.ts +0 -39
  104. package/dist/dialog/index.d.mts +0 -57
  105. package/dist/dialog/index.d.ts +0 -57
  106. package/dist/dropdownMenu/index.d.mts +0 -95
  107. package/dist/dropdownMenu/index.d.ts +0 -95
  108. package/dist/fileDropzone/index.d.mts +0 -37
  109. package/dist/fileDropzone/index.d.ts +0 -37
  110. package/dist/input/index.d.mts +0 -36
  111. package/dist/input/index.d.ts +0 -36
  112. package/dist/label/index.d.mts +0 -12
  113. package/dist/label/index.d.ts +0 -12
  114. package/dist/loading/index.d.mts +0 -15
  115. package/dist/loading/index.d.ts +0 -15
  116. package/dist/logos/index.d.mts +0 -27
  117. package/dist/logos/index.d.ts +0 -27
  118. package/dist/navigationMenu/index.d.mts +0 -39
  119. package/dist/navigationMenu/index.d.ts +0 -39
  120. package/dist/popover/index.d.mts +0 -23
  121. package/dist/popover/index.d.ts +0 -23
  122. package/dist/radio/index.d.mts +0 -28
  123. package/dist/radio/index.d.ts +0 -28
  124. package/dist/select/index.d.mts +0 -43
  125. package/dist/select/index.d.ts +0 -43
  126. package/dist/sheet/index.d.mts +0 -30
  127. package/dist/sheet/index.d.ts +0 -30
  128. package/dist/skeleton/index.d.mts +0 -10
  129. package/dist/skeleton/index.d.ts +0 -10
  130. package/dist/sortButton/index.d.mts +0 -10
  131. package/dist/sortButton/index.d.ts +0 -10
  132. package/dist/splitButton/index.d.mts +0 -15
  133. package/dist/splitButton/index.d.ts +0 -15
  134. package/dist/switch/index.d.mts +0 -12
  135. package/dist/switch/index.d.ts +0 -12
  136. package/dist/table/index.d.mts +0 -21
  137. package/dist/table/index.d.ts +0 -21
  138. package/dist/tabs/index.d.mts +0 -16
  139. package/dist/tabs/index.d.ts +0 -16
  140. package/dist/textarea/index.d.mts +0 -17
  141. package/dist/textarea/index.d.ts +0 -17
  142. package/dist/tooltip/index.d.mts +0 -26
  143. package/dist/tooltip/index.d.ts +0 -26
  144. /package/dist/{chunk-A7OPD7H7.mjs → chunk-B6UCD4GP.mjs} +0 -0
  145. /package/dist/{chunk-O2ALK7UE.mjs → chunk-Z4M72OD3.mjs} +0 -0
@@ -1,461 +1,19 @@
1
- import "../chunk-XA646BZ2.mjs";
2
- import "../chunk-ZCUUQ5VV.mjs";
3
- import "../chunk-O2ALK7UE.mjs";
4
- import "../chunk-BK5WF7UO.mjs";
5
- import "../chunk-OE27DSIY.mjs";
1
+ import "../chunk-B6UCD4GP.mjs";
6
2
  import {
7
3
  Chip
8
- } from "../chunk-GXXX5UB4.mjs";
9
- import "../chunk-A7OPD7H7.mjs";
10
- import "../chunk-FRDYTR55.mjs";
11
- import "../chunk-DX4SLF2L.mjs";
12
- import "../chunk-TWDZB2VH.mjs";
13
- import "../chunk-CXWYC6FS.mjs";
14
- import "../chunk-3KRJLV55.mjs";
15
- import "../chunk-XPTZGXC7.mjs";
16
- import "../chunk-GDIBR47V.mjs";
17
- import "../chunk-VCGW5DIP.mjs";
18
- import "../chunk-D2USGMDT.mjs";
19
- import "../chunk-POT2IP62.mjs";
20
- import "../chunk-YFC2GSJ6.mjs";
21
- import "../chunk-IQPGAHUR.mjs";
22
- import "../chunk-VBTYVVA7.mjs";
23
- import "../chunk-GXSYCLZZ.mjs";
24
- import "../chunk-AFOVBTLE.mjs";
25
- import "../chunk-6QJMQV2X.mjs";
26
- import "../chunk-QMV6AK2B.mjs";
27
- import "../chunk-2IL2HDEQ.mjs";
28
- import "../chunk-Z3JCNSB3.mjs";
29
- import "../chunk-VFP56EVG.mjs";
30
- import "../chunk-6CLNGID2.mjs";
31
- import "../chunk-J5NJEHQU.mjs";
32
- import "../chunk-C4CBXIG5.mjs";
33
- import "../chunk-SYB66JGL.mjs";
34
- import "../chunk-X3SMPIA3.mjs";
35
- import "../chunk-PUQV6URH.mjs";
4
+ } from "../chunk-72HYR6WB.mjs";
36
5
  import {
37
6
  cn
38
7
  } from "../chunk-TE3BKEXL.mjs";
39
8
 
40
9
  // components/elements/accordion/Accordion.tsx
41
- import * as React35 from "react";
10
+ import * as React3 from "react";
42
11
  import * as AccordionPrimitive3 from "@radix-ui/react-accordion";
43
12
 
44
- // components/elements/cards/ActionCard.tsx
45
- import React, { useState } from "react";
46
-
47
- // components/elements/cards/AdCard.tsx
48
- import React2, { useState as useState2, useEffect, useRef } from "react";
49
-
50
- // components/elements/cards/PricingCard.tsx
51
- import React3 from "react";
52
-
53
- // components/elements/cards/ItemCard.tsx
54
- import React4, { useEffect as useEffect2, useState as useState3 } from "react";
55
-
56
- // components/elements/cards/LandingCard.tsx
57
- import React5 from "react";
58
-
59
- // components/elements/PinInput.tsx
60
- import React6, { useEffect as useEffect3, useState as useState4 } from "react";
61
-
62
- // components/elements/PhoneInput.tsx
63
- import React7, { useState as useState5, useRef as useRef2, useEffect as useEffect4 } from "react";
64
-
65
- // components/elements/Progress.tsx
66
- import * as React8 from "react";
67
- import * as ProgressPrimitive from "@radix-ui/react-progress";
68
- var Progress = React8.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React8.createElement(
69
- ProgressPrimitive.Root,
70
- {
71
- ref,
72
- className: cn(
73
- "hawa-relative hawa-h-4 hawa-w-full hawa-overflow-hidden hawa-rounded hawa-bg-secondary",
74
- className
75
- ),
76
- ...props
77
- },
78
- /* @__PURE__ */ React8.createElement(
79
- ProgressPrimitive.Indicator,
80
- {
81
- className: "hawa-h-full hawa-w-full hawa-flex-1 hawa-bg-primary hawa-transition-all",
82
- style: { transform: `translateX(-${100 - (value || 0)}%)` }
83
- }
84
- )
85
- ));
86
- Progress.displayName = ProgressPrimitive.Root.displayName;
87
-
88
- // components/elements/ProgressCircle.tsx
89
- import React9 from "react";
90
- var size2config = {
91
- xs: {
92
- radius: 15,
93
- strokeWidth: 3
94
- },
95
- sm: {
96
- radius: 19,
97
- strokeWidth: 4
98
- },
99
- md: {
100
- radius: 32,
101
- strokeWidth: 6
102
- },
103
- lg: {
104
- radius: 52,
105
- strokeWidth: 8
106
- },
107
- xl: {
108
- radius: 80,
109
- strokeWidth: 10
110
- }
111
- };
112
- function getLimitedValue(input) {
113
- if (input === void 0) {
114
- return 0;
115
- } else if (input > 100) {
116
- return 100;
117
- } else {
118
- return input;
119
- }
120
- }
121
- var ProgressCircle = React9.forwardRef((props, ref) => {
122
- const {
123
- value: inputValue,
124
- size = "md",
125
- className,
126
- showAnimation = true,
127
- color,
128
- tooltip,
129
- radius: inputRadius,
130
- strokeWidth: inputStrokeWidth,
131
- children,
132
- ...other
133
- } = props;
134
- const value = getLimitedValue(inputValue);
135
- const radius = inputRadius != null ? inputRadius : size2config[size].radius;
136
- const strokeWidth = inputStrokeWidth != null ? inputStrokeWidth : size2config[size].strokeWidth;
137
- const normalizedRadius = radius - strokeWidth / 2;
138
- const circumference = normalizedRadius * 2 * Math.PI;
139
- const strokeDashoffset = value / 100 * circumference;
140
- const offset = circumference - strokeDashoffset;
141
- return /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(
142
- "div",
143
- {
144
- ref,
145
- className: cn(
146
- "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center",
147
- className
148
- )
149
- },
150
- /* @__PURE__ */ React9.createElement(
151
- "svg",
152
- {
153
- width: radius * 2,
154
- height: radius * 2,
155
- viewBox: `0 0 ${radius * 2} ${radius * 2}`,
156
- className: "hawa-rotate-180 hawa-transform"
157
- },
158
- /* @__PURE__ */ React9.createElement(
159
- "circle",
160
- {
161
- r: normalizedRadius,
162
- cx: radius,
163
- cy: radius,
164
- strokeWidth,
165
- fill: "transparent",
166
- stroke: "",
167
- strokeLinecap: "round",
168
- className: cn(
169
- "hawa-transition-colors hawa-ease-linear",
170
- " hawa-stroke-primary/20"
171
- )
172
- }
173
- ),
174
- value > 0 ? /* @__PURE__ */ React9.createElement(
175
- "circle",
176
- {
177
- r: normalizedRadius,
178
- cx: radius,
179
- cy: radius,
180
- strokeWidth,
181
- strokeDasharray: circumference + " " + circumference,
182
- strokeDashoffset: offset,
183
- fill: "transparent",
184
- stroke: "",
185
- strokeLinecap: "round",
186
- className: cn(
187
- "hawa-transition-colors hawa-ease-linear",
188
- "hawa-stroke-primary",
189
- showAnimation ? "hawa-transition-all hawa-duration-300 hawa-ease-in-out" : ""
190
- )
191
- }
192
- ) : null
193
- ),
194
- /* @__PURE__ */ React9.createElement("div", { className: cn("hawa-absolute hawa-flex") }, children)
195
- ));
196
- });
197
- ProgressCircle.displayName = "ProgressCircle";
198
-
199
- // components/elements/Pagination.tsx
200
- import React10 from "react";
201
- import { Pagination as PaginationPrimitive } from "react-headless-pagination";
202
-
203
- // components/elements/PasswordInput.tsx
204
- import React14, { useEffect as useEffect5, useState as useState6 } from "react";
205
-
206
- // components/icons/Emojis.tsx
207
- import React11 from "react";
208
-
209
- // components/icons/InputIcons.tsx
210
- import React12 from "react";
211
-
212
- // components/icons/CommonIcons.tsx
213
- import React13 from "react";
214
-
215
- // components/elements/Slider.tsx
216
- import * as React15 from "react";
217
- import * as SliderPrimitive from "@radix-ui/react-slider";
218
- var Slider = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React15.createElement(
219
- SliderPrimitive.Root,
220
- {
221
- ref,
222
- className: cn(
223
- "hawa-relative hawa-flex hawa-w-full hawa-touch-none hawa-select-none hawa-items-center",
224
- className
225
- ),
226
- ...props
227
- },
228
- /* @__PURE__ */ React15.createElement(SliderPrimitive.Track, { className: "hawa-relative hawa-h-2 hawa-w-full hawa-grow hawa-overflow-hidden hawa-rounded-full hawa-border hawa-bg-background" }, /* @__PURE__ */ React15.createElement(SliderPrimitive.Range, { className: "hawa-absolute hawa-h-full hawa-bg-primary" })),
229
- /* @__PURE__ */ React15.createElement(SliderPrimitive.Thumb, { className: "hawa-block hawa-h-5 hawa-w-5 hawa-rounded-full hawa-border-2 hawa-border-primary hawa-bg-background hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50" })
230
- ));
231
- Slider.displayName = SliderPrimitive.Root.displayName;
232
-
233
- // components/elements/SimpleTable.tsx
234
- import * as React16 from "react";
235
- import {
236
- flexRender,
237
- getCoreRowModel,
238
- useReactTable
239
- } from "@tanstack/react-table";
240
-
241
- // components/elements/Separator.tsx
242
- import * as React17 from "react";
243
-
244
- // components/elements/ScrollArea.tsx
245
- import * as React18 from "react";
246
- import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
247
- var ScrollArea = React18.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React18.createElement(
248
- ScrollAreaPrimitive.Root,
249
- {
250
- ref,
251
- className: cn("hawa-relative hawa-overflow-hidden", className),
252
- ...props
253
- },
254
- /* @__PURE__ */ React18.createElement(ScrollAreaPrimitive.Viewport, { className: "hawa-h-full hawa-w-full hawa-rounded-[inherit]" }, children),
255
- /* @__PURE__ */ React18.createElement(ScrollBar, { orientation }),
256
- /* @__PURE__ */ React18.createElement(ScrollAreaPrimitive.Corner, null)
257
- ));
258
- ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
259
- var ScrollBar = React18.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React18.createElement(
260
- ScrollAreaPrimitive.ScrollAreaScrollbar,
261
- {
262
- ref,
263
- orientation,
264
- className: cn(
265
- "hawa-flex hawa-touch-none hawa-select-none hawa-transition-colors",
266
- orientation === "vertical" && "hawa-h-full hawa-w-2.5 hawa-border-l hawa-border-l-transparent hawa-p-[1px]",
267
- orientation === "horizontal" && "hawa-h-2.5 hawa-border-t hawa-border-t-transparent hawa-p-[1px]",
268
- className
269
- ),
270
- ...props
271
- },
272
- /* @__PURE__ */ React18.createElement(
273
- ScrollAreaPrimitive.ScrollAreaThumb,
274
- {
275
- className: cn(
276
- "hawa-relative hawa-rounded-full hawa-bg-border",
277
- orientation === "vertical" && "hawa-flex-1"
278
- )
279
- }
280
- )
281
- ));
282
- ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
283
-
284
- // components/elements/ScrollIndicator.tsx
285
- import React19, { useState as useState7, useEffect as useEffect6 } from "react";
286
-
287
- // components/elements/StopPropagationWrapper.tsx
288
- import React20 from "react";
289
-
290
- // components/elements/ColorPicker.tsx
291
- import React21, {
292
- useState as useState8,
293
- useEffect as useEffect7
294
- } from "react";
295
-
296
- // components/elements/CodeBlock.tsx
297
- import React22, { useState as useState10 } from "react";
298
- import { Highlight, themes } from "prism-react-renderer";
299
-
300
- // components/hooks/useClipboard.ts
301
- import { useState as useState9 } from "react";
302
-
303
- // components/elements/Carousel.tsx
304
- import React23, { useEffect as useEffect9, useState as useState11 } from "react";
305
- import useEmblaCarousel from "embla-carousel-react";
306
-
307
- // components/elements/Count.tsx
308
- import React24 from "react";
309
-
310
- // components/elements/Toast.tsx
311
- import * as React25 from "react";
312
- import * as ToastPrimitives from "@radix-ui/react-toast";
313
- import { cva } from "class-variance-authority";
314
- var toastVariants = cva(
315
- "hawa-group hawa-z-[900] hawa-pointer-events-auto hawa-relative hawa-flex hawa-w-full hawa-items-center hawa-justify-between hawa-space-x-4 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-shadow-lg hawa-transition-all data-[swipe=cancel]:hawa-translate-x-0 data-[swipe=end]:hawa-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:hawa-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:hawa-transition-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[swipe=end]:hawa-animate-out data-[state=closed]:hawa-fade-out-80 data-[state=open]:hawa-slide-in-from-top-full data-[state=open]:sm:hawa-slide-in-from-bottom-full",
316
- {
317
- variants: {
318
- variant: {
319
- default: "hawa-border hawa-bg-background hawa-text-foreground",
320
- destructive: "hawa-destructive hawa-group hawa-border-destructive hawa-bg-destructive hawa-text-destructive-foreground"
321
- },
322
- severity: {
323
- info: "hawa-info hawa-group hawa-text-info-foreground hawa-bg-info",
324
- warning: "hawa-warning hawa-group hawa-text-warning-foreground hawa-bg-warning",
325
- error: "hawa-error hawa-group hawa-border-error hawa-bg-error hawa-text-white",
326
- success: "hawa-success hawa-group hawa-text-success-foreground hawa-bg-success",
327
- none: ""
328
- }
329
- },
330
- defaultVariants: {
331
- variant: "default"
332
- }
333
- }
334
- );
335
- var ToastViewport = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
336
- ToastPrimitives.Viewport,
337
- {
338
- ref,
339
- className: cn(
340
- "hawa-fixed hawa-top-0 hawa-z-[100] hawa-flex hawa-max-h-screen hawa-w-full hawa-flex-col-reverse hawa-p-4 sm:hawa-bottom-0 sm:hawa-right-0 sm:hawa-top-auto sm:hawa-flex-col md:hawa-max-w-[420px]",
341
- className
342
- ),
343
- ...props
344
- }
345
- ));
346
- ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
347
- var Toast = React25.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
348
- return /* @__PURE__ */ React25.createElement(
349
- ToastPrimitives.Root,
350
- {
351
- ref,
352
- className: cn(
353
- toastVariants({ variant, severity }),
354
- className,
355
- direction === "rtl" ? "hawa-p-6 hawa-pl-0 hawa-pr-10 data-[state=closed]:hawa-slide-out-to-left-full" : "hawa-p-6 hawa-pr-8 data-[state=closed]:hawa-slide-out-to-right-full"
356
- ),
357
- dir: direction,
358
- ...props
359
- }
360
- );
361
- });
362
- Toast.displayName = ToastPrimitives.Root.displayName;
363
- var ToastAction = React25.forwardRef(({ className, ...props }, ref) => {
364
- return /* @__PURE__ */ React25.createElement(
365
- ToastPrimitives.Action,
366
- {
367
- ref,
368
- className: cn(
369
- "hawa-inline-flex hawa-h-8 hawa-shrink-0 hawa-items-center hawa-justify-center hawa-rounded-md hawa-border hawa-bg-transparent hawa-px-3 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors hover:hawa-bg-secondary hover:hawa-text-secondary-foreground focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
370
- "group-[.info]:hawa-border-muted/40 group-[.info]:hover:hawa-border-info/30 group-[.info]:hover:hawa-bg-info group-[.info]:hover:hawa-text-info-foreground group-[.info]:focus:hawa-ring-info",
371
- "group-[.error]:hawa-border-muted/40 group-[.error]:hover:hawa-border-error/30 group-[.error]:hover:hawa-bg-error group-[.error]:hover:hawa-text-error-foreground group-[.error]:focus:hawa-ring-error",
372
- "group-[.success]:hawa-border-muted/40 group-[.success]:hover:hawa-border-success/30 group-[.success]:hover:hawa-bg-success group-[.success]:hover:hawa-text-success-foreground group-[.success]:focus:hawa-ring-success",
373
- "group-[.warning]:hawa-border-muted/40 group-[.warning]:hover:hawa-border-warning/30 group-[.warning]:hover:hawa-bg-warning group-[.warning]:hover:hawa-text-warning-foreground group-[.warning]:focus:hawa-ring-warning",
374
- className
375
- ),
376
- ...props
377
- }
378
- );
379
- });
380
- ToastAction.displayName = ToastPrimitives.Action.displayName;
381
- var ToastClose = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
382
- ToastPrimitives.Close,
383
- {
384
- ref,
385
- className: cn(
386
- "hawa-absolute hawa-right-2 hawa-top-2 hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-opacity-0 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 group-hover:hawa-opacity-100 group-[.destructive]:hawa-text-red-300 group-[.destructive]:hover:hawa-text-red-50 group-[.destructive]:focus:hawa-ring-red-400 group-[.destructive]:focus:hawa-ring-offset-red-600",
387
- className
388
- ),
389
- "toast-close": "",
390
- ...props
391
- },
392
- /* @__PURE__ */ React25.createElement(
393
- "svg",
394
- {
395
- "aria-label": "Close Icon",
396
- "aria-hidden": "true",
397
- className: "hawa-icon",
398
- fill: "currentColor",
399
- viewBox: "0 0 20 20"
400
- },
401
- /* @__PURE__ */ React25.createElement(
402
- "path",
403
- {
404
- fillRule: "evenodd",
405
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
406
- clipRule: "evenodd"
407
- }
408
- )
409
- )
410
- ));
411
- ToastClose.displayName = ToastPrimitives.Close.displayName;
412
- var ToastTitle = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
413
- ToastPrimitives.Title,
414
- {
415
- ref,
416
- className: cn(
417
- "hawa-select-text hawa-text-sm hawa-font-semibold",
418
- className
419
- ),
420
- ...props
421
- }
422
- ));
423
- ToastTitle.displayName = ToastPrimitives.Title.displayName;
424
- var ToastDescription = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
425
- ToastPrimitives.Description,
426
- {
427
- ref,
428
- className: cn("hawa-select-text hawa-text-sm hawa-opacity-90", className),
429
- ...props
430
- }
431
- ));
432
- ToastDescription.displayName = ToastPrimitives.Description.displayName;
433
-
434
- // components/elements/Toaster.tsx
435
- import React27 from "react";
436
-
437
- // components/hooks/useToast.ts
438
- import * as React26 from "react";
439
-
440
- // components/elements/Breadcrumb.tsx
441
- import React28 from "react";
442
-
443
- // components/elements/Badge.tsx
444
- import React29, { useEffect as useEffect11, useState as useState13, useRef as useRef3 } from "react";
445
-
446
- // components/elements/AppStores.tsx
447
- import React30 from "react";
448
-
449
- // components/elements/DestroyableCard.tsx
450
- import React31, { useRef as useRef4, useState as useState14 } from "react";
451
-
452
- // components/elements/InterfaceSettings.tsx
453
- import React32, { useState as useState15 } from "react";
454
-
455
13
  // components/elements/accordion/AccordionContent.tsx
456
- import * as React33 from "react";
14
+ import * as React from "react";
457
15
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
458
- var AccordionContent = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React33.createElement(
16
+ var AccordionContent = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React.createElement(
459
17
  AccordionPrimitive.Content,
460
18
  {
461
19
  ref,
@@ -465,14 +23,14 @@ var AccordionContent = React33.forwardRef(({ className, children, ...props }, re
465
23
  ) : className,
466
24
  ...props
467
25
  },
468
- /* @__PURE__ */ React33.createElement("div", { className: "hawa-bg-background hawa-p-4" }, children)
26
+ /* @__PURE__ */ React.createElement("div", { className: "hawa-bg-background hawa-p-4" }, children)
469
27
  ));
470
28
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
471
29
 
472
30
  // components/elements/accordion/AccordionTrigger.tsx
473
- import * as React34 from "react";
31
+ import * as React2 from "react";
474
32
  import * as AccordionPrimitive2 from "@radix-ui/react-accordion";
475
- var AccordionTrigger = React34.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React34.createElement(AccordionPrimitive2.Header, { className: "hawa-flex" }, /* @__PURE__ */ React34.createElement(
33
+ var AccordionTrigger = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React2.createElement(AccordionPrimitive2.Header, { className: "hawa-flex" }, /* @__PURE__ */ React2.createElement(
476
34
  AccordionPrimitive2.Trigger,
477
35
  {
478
36
  ref,
@@ -484,7 +42,7 @@ var AccordionTrigger = React34.forwardRef(({ className, children, ...props }, re
484
42
  ...props
485
43
  },
486
44
  children,
487
- !props.hideArrow && /* @__PURE__ */ React34.createElement(
45
+ !props.hideArrow && /* @__PURE__ */ React2.createElement(
488
46
  "svg",
489
47
  {
490
48
  xmlns: "http://www.w3.org/2000/svg",
@@ -498,13 +56,13 @@ var AccordionTrigger = React34.forwardRef(({ className, children, ...props }, re
498
56
  strokeLinejoin: "round",
499
57
  className: "hawa-icon hawa-shrink-0 hawa-transition-transform hawa-duration-200"
500
58
  },
501
- /* @__PURE__ */ React34.createElement("path", { d: "m6 9 6 6 6-6" })
59
+ /* @__PURE__ */ React2.createElement("path", { d: "m6 9 6 6 6-6" })
502
60
  )
503
61
  )));
504
62
  AccordionTrigger.displayName = AccordionPrimitive2.Trigger.displayName;
505
63
 
506
64
  // components/elements/accordion/Accordion.tsx
507
- var Accordion = React35.forwardRef(
65
+ var Accordion = React3.forwardRef(
508
66
  ({
509
67
  items,
510
68
  design = "default",
@@ -513,7 +71,7 @@ var Accordion = React35.forwardRef(
513
71
  contentclassNames,
514
72
  className,
515
73
  ...props
516
- }, ref) => /* @__PURE__ */ React35.createElement(AccordionPrimitive3.Root, { type: props.type, collapsible: true }, /* @__PURE__ */ React35.createElement(
74
+ }, ref) => /* @__PURE__ */ React3.createElement(AccordionPrimitive3.Root, { type: props.type, collapsible: true }, /* @__PURE__ */ React3.createElement(
517
75
  "div",
518
76
  {
519
77
  className: cn("hawa-flex hawa-flex-col", {
@@ -521,7 +79,7 @@ var Accordion = React35.forwardRef(
521
79
  "hawa-gap-0": design === "default"
522
80
  })
523
81
  },
524
- items.map((item, index) => /* @__PURE__ */ React35.createElement(
82
+ items.map((item, index) => /* @__PURE__ */ React3.createElement(
525
83
  AccordionPrimitive3.Item,
526
84
  {
527
85
  disabled: item.disabled || false,
@@ -529,7 +87,7 @@ var Accordion = React35.forwardRef(
529
87
  key: index,
530
88
  value: `item-${index}`
531
89
  },
532
- /* @__PURE__ */ React35.createElement(
90
+ /* @__PURE__ */ React3.createElement(
533
91
  AccordionTrigger,
534
92
  {
535
93
  disabled: item.disabled || false,
@@ -542,7 +100,7 @@ var Accordion = React35.forwardRef(
542
100
  triggerclassNames
543
101
  )
544
102
  },
545
- /* @__PURE__ */ React35.createElement(
103
+ /* @__PURE__ */ React3.createElement(
546
104
  "span",
547
105
  {
548
106
  className: cn(
@@ -552,10 +110,10 @@ var Accordion = React35.forwardRef(
552
110
  },
553
111
  item.trigger,
554
112
  " ",
555
- item.chip && /* @__PURE__ */ React35.createElement(Chip, { ...item.chip })
113
+ item.chip && /* @__PURE__ */ React3.createElement(Chip, { ...item.chip })
556
114
  )
557
115
  ),
558
- /* @__PURE__ */ React35.createElement(
116
+ /* @__PURE__ */ React3.createElement(
559
117
  AccordionContent,
560
118
  {
561
119
  "aria-disabled": item.disabled || false,
@@ -575,9 +133,9 @@ var Accordion = React35.forwardRef(
575
133
  Accordion.displayName = "Accordion";
576
134
 
577
135
  // components/elements/accordion/AccordionItem.tsx
578
- import * as React36 from "react";
136
+ import * as React4 from "react";
579
137
  import * as AccordionPrimitive4 from "@radix-ui/react-accordion";
580
- var AccordionItem = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React36.createElement(AccordionPrimitive4.Item, { ref, className: cn(className), ...props }));
138
+ var AccordionItem = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React4.createElement(AccordionPrimitive4.Item, { ref, className: cn(className), ...props }));
581
139
  AccordionItem.displayName = "AccordionItem";
582
140
 
583
141
  // components/elements/accordion/AccordionRoot.tsx
@@ -1,4 +1,3 @@
1
- import "../chunk-A7OPD7H7.mjs";
2
1
  import {
3
2
  Alert
4
3
  } from "../chunk-FRDYTR55.mjs";
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // components/elements/appStores/index.ts
31
+ var appStores_exports = {};
32
+ __export(appStores_exports, {
33
+ AppStores: () => AppStores
34
+ });
35
+ module.exports = __toCommonJS(appStores_exports);
36
+
37
+ // components/elements/appStores/AppStores.tsx
38
+ var import_react = __toESM(require("react"));
39
+ var AppStores = (props) => {
40
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa-flex hawa-justify-center" }, /* @__PURE__ */ import_react.default.createElement("div", null, props.store === "apple" ? /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 384 512", width: "30" }, /* @__PURE__ */ import_react.default.createElement(
41
+ "path",
42
+ {
43
+ fill: "currentColor",
44
+ d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"
45
+ }
46
+ ))), /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa-text-xs" }, "Download on the"), /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-2xl hawa-font-semibold" }, "App Store"))) : /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa-mt-3 hawa-flex hawa-h-14 hawa-w-48 hawa-items-center hawa-justify-center hawa-rounded-lg hawa-border hawa-border-black hawa-bg-black hawa-text-white dark:hawa-bg-white dark:hawa-text-black" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa-mr-3" }, /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "30 336.7 120.9 129.2", width: "30" }, /* @__PURE__ */ import_react.default.createElement(
47
+ "path",
48
+ {
49
+ fill: "#FFD400",
50
+ d: "M119.2,421.2c15.3-8.4,27-14.8,28-15.3c3.2-1.7,6.5-6.2,0-9.7 c-2.1-1.1-13.4-7.3-28-15.3l-20.1,20.2L119.2,421.2z"
51
+ }
52
+ ), /* @__PURE__ */ import_react.default.createElement(
53
+ "path",
54
+ {
55
+ fill: "#FF3333",
56
+ d: "M99.1,401.1l-64.2,64.7c1.5,0.2,3.2-0.2,5.2-1.3 c4.2-2.3,48.8-26.7,79.1-43.3L99.1,401.1L99.1,401.1z"
57
+ }
58
+ ), /* @__PURE__ */ import_react.default.createElement(
59
+ "path",
60
+ {
61
+ fill: "#48FF48",
62
+ d: "M99.1,401.1l20.1-20.2c0,0-74.6-40.7-79.1-43.1 c-1.7-1-3.6-1.3-5.3-1L99.1,401.1z"
63
+ }
64
+ ), /* @__PURE__ */ import_react.default.createElement(
65
+ "path",
66
+ {
67
+ fill: "#3BCCFF",
68
+ d: "M99.1,401.1l-64.3-64.3c-2.6,0.6-4.8,2.9-4.8,7.6 c0,7.5,0,107.5,0,113.8c0,4.3,1.7,7.4,4.9,7.7L99.1,401.1z"
69
+ }
70
+ ))), /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa-text-xs" }, "GET IT ON"), /* @__PURE__ */ import_react.default.createElement("div", { className: "hawa--mt-1 hawa-font-sans hawa-text-xl hawa-font-semibold" }, "Google Play")))));
71
+ };
72
+ // Annotate the CommonJS export names for ESM import in node:
73
+ 0 && (module.exports = {
74
+ AppStores
75
+ });