@sikka/hawa 0.26.18-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 (190) 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.d.mts +1 -0
  79. package/dist/dataTable/index.d.ts +1 -0
  80. package/dist/dataTable/index.js +23 -16
  81. package/dist/dataTable/index.mjs +22 -15
  82. package/dist/destroyableCard/index.js +6 -8
  83. package/dist/destroyableCard/index.mjs +4 -4
  84. package/dist/dialog/index.js +4 -4
  85. package/dist/dialog/index.mjs +2 -2
  86. package/dist/docsLayout/index.js +12 -11
  87. package/dist/docsLayout/index.mjs +11 -10
  88. package/dist/docsSidebar/index.js +4 -4
  89. package/dist/docsSidebar/index.mjs +2 -2
  90. package/dist/dropdownMenu/index.js +4 -4
  91. package/dist/dropdownMenu/index.mjs +2 -2
  92. package/dist/elements/index.d.mts +2 -1
  93. package/dist/elements/index.d.ts +2 -1
  94. package/dist/elements/index.js +162 -164
  95. package/dist/elements/index.mjs +54 -57
  96. package/dist/fileDropzone/index.js +10 -9
  97. package/dist/fileDropzone/index.mjs +9 -8
  98. package/dist/fileUploader/index.js +2 -2
  99. package/dist/fileUploader/index.mjs +1 -1
  100. package/dist/glow/index.js +2 -2
  101. package/dist/glow/index.mjs +1 -1
  102. package/dist/hooks/index.d.mts +7 -7
  103. package/dist/hooks/index.d.ts +7 -7
  104. package/dist/hooks/index.js +16 -16
  105. package/dist/hooks/index.mjs +14 -14
  106. package/dist/index.css +0 -465
  107. package/dist/index.d.mts +9 -8
  108. package/dist/index.d.ts +9 -8
  109. package/dist/index.js +220 -222
  110. package/dist/index.mjs +219 -221
  111. package/dist/input/index.js +8 -8
  112. package/dist/input/index.mjs +4 -4
  113. package/dist/interfaceSettings/index.js +9 -9
  114. package/dist/interfaceSettings/index.mjs +4 -4
  115. package/dist/label/index.js +5 -5
  116. package/dist/label/index.mjs +4 -4
  117. package/dist/layout/index.d.mts +1 -1
  118. package/dist/layout/index.d.ts +1 -1
  119. package/dist/layout/index.js +31 -30
  120. package/dist/layout/index.mjs +16 -16
  121. package/dist/loading/index.js +4 -4
  122. package/dist/loading/index.mjs +2 -2
  123. package/dist/logos/index.js +2 -2
  124. package/dist/logos/index.mjs +1 -1
  125. package/dist/navbar/index.js +5 -5
  126. package/dist/navbar/index.mjs +4 -4
  127. package/dist/navigationMenu/index.js +4 -4
  128. package/dist/navigationMenu/index.mjs +2 -2
  129. package/dist/pagination/index.js +4 -4
  130. package/dist/pagination/index.mjs +2 -2
  131. package/dist/passwordInput/index.js +15 -15
  132. package/dist/passwordInput/index.mjs +13 -13
  133. package/dist/phoneInput/index.js +11 -11
  134. package/dist/phoneInput/index.mjs +10 -10
  135. package/dist/pinInput/index.js +4 -4
  136. package/dist/pinInput/index.mjs +2 -2
  137. package/dist/popover/index.js +4 -4
  138. package/dist/popover/index.mjs +2 -2
  139. package/dist/progress/index.js +4 -4
  140. package/dist/progress/index.mjs +2 -2
  141. package/dist/progressCircle/index.js +4 -4
  142. package/dist/progressCircle/index.mjs +2 -2
  143. package/dist/radio/index.js +7 -7
  144. package/dist/radio/index.mjs +6 -6
  145. package/dist/scrollArea/index.js +4 -4
  146. package/dist/scrollArea/index.mjs +2 -2
  147. package/dist/scrollIndicator/index.js +2 -2
  148. package/dist/scrollIndicator/index.mjs +1 -1
  149. package/dist/select/index.js +8 -8
  150. package/dist/select/index.mjs +7 -7
  151. package/dist/separator/index.js +4 -4
  152. package/dist/separator/index.mjs +2 -2
  153. package/dist/sheet/index.js +4 -4
  154. package/dist/sheet/index.mjs +2 -2
  155. package/dist/sidebar/index.js +6 -6
  156. package/dist/sidebar/index.mjs +4 -4
  157. package/dist/signature/index.js +8 -8
  158. package/dist/signature/index.mjs +6 -6
  159. package/dist/simpleTable/index.js +6 -6
  160. package/dist/simpleTable/index.mjs +5 -5
  161. package/dist/skeleton/index.js +4 -4
  162. package/dist/skeleton/index.mjs +2 -2
  163. package/dist/slider/index.js +4 -4
  164. package/dist/slider/index.mjs +2 -2
  165. package/dist/sortButton/index.js +8 -7
  166. package/dist/sortButton/index.mjs +2 -2
  167. package/dist/splitButton/index.js +9 -8
  168. package/dist/splitButton/index.mjs +4 -4
  169. package/dist/stats/index.js +7 -7
  170. package/dist/stats/index.mjs +6 -6
  171. package/dist/stopPropagationWrapper/index.js +2 -2
  172. package/dist/stopPropagationWrapper/index.mjs +1 -1
  173. package/dist/switch/index.js +4 -4
  174. package/dist/switch/index.mjs +2 -2
  175. package/dist/table/index.js +4 -4
  176. package/dist/table/index.mjs +2 -2
  177. package/dist/tabs/index.js +5 -5
  178. package/dist/tabs/index.mjs +4 -4
  179. package/dist/textarea/index.js +7 -7
  180. package/dist/textarea/index.mjs +6 -6
  181. package/dist/toast/index.js +4 -4
  182. package/dist/toast/index.mjs +2 -2
  183. package/dist/toaster/index.js +6 -6
  184. package/dist/toaster/index.mjs +5 -5
  185. package/dist/tooltip/index.js +4 -4
  186. package/dist/tooltip/index.mjs +3 -3
  187. package/dist/types/index.js +1 -1
  188. package/package.json +16 -42
  189. package/README.md +0 -107
  190. package/dist/chunk-S36W2LDN.mjs +0 -189
@@ -27,7 +27,7 @@ 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/blocks/pricing/index.ts
30
+ // blocks/pricing/index.ts
31
31
  var pricing_exports = {};
32
32
  __export(pricing_exports, {
33
33
  ComparingPlans: () => ComparingPlans,
@@ -36,30 +36,30 @@ __export(pricing_exports, {
36
36
  });
37
37
  module.exports = __toCommonJS(pricing_exports);
38
38
 
39
- // components/blocks/pricing/PricingPlans.tsx
39
+ // blocks/pricing/PricingPlans.tsx
40
40
  var import_react12 = __toESM(require("react"));
41
41
 
42
- // components/blocks/cards/ActionCard.tsx
42
+ // blocks/cards/ActionCard.tsx
43
43
  var import_react = __toESM(require("react"));
44
44
 
45
- // components/blocks/cards/AdCard.tsx
45
+ // blocks/cards/AdCard.tsx
46
46
  var import_react2 = __toESM(require("react"));
47
47
 
48
- // components/util.ts
48
+ // util/index.ts
49
49
  var import_clsx = require("clsx");
50
50
  var import_tailwind_merge = require("tailwind-merge");
51
51
  function cn(...inputs) {
52
52
  return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
53
53
  }
54
54
 
55
- // components/blocks/cards/PricingCard.tsx
55
+ // blocks/cards/PricingCard.tsx
56
56
  var import_react7 = __toESM(require("react"));
57
57
 
58
- // components/elements/button/Button.tsx
58
+ // elements/button/Button.tsx
59
59
  var React4 = __toESM(require("react"));
60
60
  var import_class_variance_authority = require("class-variance-authority");
61
61
 
62
- // components/elements/loading/Loading.tsx
62
+ // elements/loading/Loading.tsx
63
63
  var import_react3 = __toESM(require("react"));
64
64
  var Loading = ({
65
65
  design = "spinner",
@@ -236,7 +236,7 @@ var Loading = ({
236
236
  }
237
237
  };
238
238
 
239
- // components/elements/button/Button.tsx
239
+ // elements/button/Button.tsx
240
240
  var buttonVariants = (0, import_class_variance_authority.cva)(
241
241
  "hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium 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",
242
242
  {
@@ -289,6 +289,7 @@ var Button = React4.forwardRef(
289
289
  className: cn(
290
290
  buttonVariants({ variant, size, className }),
291
291
  centered && "hawa-justify-center"
292
+ // "hawa-bg-red-500"
292
293
  ),
293
294
  ref,
294
295
  ...props
@@ -307,7 +308,7 @@ var Button = React4.forwardRef(
307
308
  );
308
309
  Button.displayName = "Button";
309
310
 
310
- // components/elements/card/Card.tsx
311
+ // elements/card/Card.tsx
311
312
  var React5 = __toESM(require("react"));
312
313
  var Card = React5.forwardRef(
313
314
  ({ className, variant = "default", clickable = false, ...props }, ref) => {
@@ -388,94 +389,13 @@ CardFooter.displayName = "CardFooter";
388
389
  CardTitle.displayName = "CardTitle";
389
390
  Card.displayName = "Card";
390
391
 
391
- // components/elements/chip/Chip.tsx
392
- var import_react4 = __toESM(require("react"));
393
- var Chip = import_react4.default.forwardRef(
394
- ({
395
- label,
396
- size = "normal",
397
- icon,
398
- color,
399
- radius = "inherit",
400
- dotType,
401
- ...rest
402
- }, ref) => {
403
- let defaultStyles = "hawa-flex hawa-flex-row hawa-w-fit hawa-gap-1 hawa-items-center hawa-px-2.5 hawa-py-1 hawa-font-bold ";
404
- let radiusStyles = {
405
- inherit: " hawa-rounded",
406
- full: "hawa-rounded-full",
407
- none: "hawa-rounded-none"
408
- };
409
- let sizeStyles = {
410
- small: "hawa-h-[15px] hawa-leading-4 hawa-px-0 hawa-py-0 hawa-text-[9px] hawa-gap-0.5 ",
411
- normal: "hawa-h-fit hawa-text-xs",
412
- large: "hawa-text-base"
413
- };
414
- let dotStyles = {
415
- small: "hawa-flex hawa-h-1 hawa-w-1 hawa-rounded-full",
416
- normal: "hawa-flex hawa-h-2 hawa-w-2 hawa-rounded-full",
417
- large: "hawa-flex hawa-h-3 hawa-w-3 hawa-rounded-full"
418
- };
419
- let dotTypeStyles = {
420
- available: "hawa-bg-green-500",
421
- unavailable: "hawa-bg-red-500"
422
- };
423
- let colorStyles = {
424
- green: "hawa-bg-green-100 hawa-text-green-500 dark:hawa-bg-green-400 dark:hawa-text-green-800",
425
- blue: "hawa-bg-blue-100 hawa-text-blue-500 dark:hawa-bg-blue-400 dark:hawa-text-blue-100",
426
- red: "hawa-bg-red-100 hawa-text-red-500 dark:hawa-bg-red-400 dark:hawa-text-red-100",
427
- yellow: "hawa-bg-yellow-100 hawa-text-yellow-600 dark:hawa-bg-yellow-400 dark:hawa-text-yellow-800",
428
- orange: "hawa-bg-orange-100 hawa-text-orange-500 dark:hawa-bg-orange-400 dark:hawa-text-orange-100",
429
- purple: "hawa-bg-purple-100 hawa-text-purple-500 dark:hawa-bg-purple-400 dark:hawa-text-purple-100",
430
- cyan: "hawa-bg-cyan-100 hawa-text-cyan-800 dark:hawa-bg-cyan-400 dark:hawa-text-cyan-800",
431
- hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-500 hawa-via-red-500 hawa-to-yellow-500 ",
432
- oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-300 hawa-via-blue-500 hawa-to-purple-600"
433
- };
434
- if (label) {
435
- return /* @__PURE__ */ import_react4.default.createElement(
436
- "span",
437
- {
438
- ...rest,
439
- ref,
440
- className: cn(
441
- defaultStyles,
442
- sizeStyles[size],
443
- radiusStyles[radius],
444
- color ? colorStyles[color] : "hawa-border hawa-bg-none"
445
- )
446
- },
447
- dotType && /* @__PURE__ */ import_react4.default.createElement(
448
- "span",
449
- {
450
- className: cn(dotStyles[size], dotTypeStyles[dotType])
451
- }
452
- ),
453
- icon && icon,
454
- label
455
- );
456
- } else {
457
- return /* @__PURE__ */ import_react4.default.createElement(
458
- "span",
459
- {
460
- ...rest,
461
- ref,
462
- className: cn(
463
- "hawa-h-2 hawa-w-2 hawa-rounded-full",
464
- color ? colorStyles[color] : "hawa-border hawa-bg-none"
465
- )
466
- }
467
- );
468
- }
469
- }
470
- );
471
-
472
- // components/elements/separator/Separator.tsx
473
- var React7 = __toESM(require("react"));
392
+ // elements/separator/Separator.tsx
393
+ var React6 = __toESM(require("react"));
474
394
  var Separator = ({
475
395
  className,
476
396
  orientation = "horizontal",
477
397
  ...props
478
- }) => /* @__PURE__ */ React7.createElement(
398
+ }) => /* @__PURE__ */ React6.createElement(
479
399
  "div",
480
400
  {
481
401
  className: cn(
@@ -487,8 +407,8 @@ var Separator = ({
487
407
  }
488
408
  );
489
409
 
490
- // components/elements/skeleton/Skeleton.tsx
491
- var import_react5 = __toESM(require("react"));
410
+ // elements/skeleton/Skeleton.tsx
411
+ var import_react4 = __toESM(require("react"));
492
412
  function Skeleton({
493
413
  className,
494
414
  content,
@@ -500,7 +420,7 @@ function Skeleton({
500
420
  pulse: "hawa-animate-pulse hawa-rounded hawa-bg-muted",
501
421
  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"
502
422
  };
503
- return /* @__PURE__ */ import_react5.default.createElement(
423
+ return /* @__PURE__ */ import_react4.default.createElement(
504
424
  "div",
505
425
  {
506
426
  className: cn(
@@ -514,10 +434,10 @@ function Skeleton({
514
434
  );
515
435
  }
516
436
 
517
- // components/elements/tooltip/Tooltip.tsx
518
- var import_react6 = __toESM(require("react"));
437
+ // elements/tooltip/Tooltip.tsx
438
+ var import_react5 = __toESM(require("react"));
519
439
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
520
- var TooltipContent = import_react6.default.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ import_react6.default.createElement(
440
+ var TooltipContent = import_react5.default.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(
521
441
  TooltipPrimitive.Content,
522
442
  {
523
443
  ref,
@@ -530,7 +450,7 @@ var TooltipContent = import_react6.default.forwardRef(({ className, sideOffset =
530
450
  }
531
451
  ));
532
452
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
533
- var TooltipArrow = import_react6.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react6.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
453
+ var TooltipArrow = import_react5.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
534
454
  TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
535
455
  var Tooltip = ({
536
456
  side,
@@ -545,13 +465,13 @@ var Tooltip = ({
545
465
  delayDuration = 300,
546
466
  ...props
547
467
  }) => {
548
- return /* @__PURE__ */ import_react6.default.createElement(
468
+ return /* @__PURE__ */ import_react5.default.createElement(
549
469
  TooltipPrimitive.TooltipProvider,
550
470
  {
551
471
  delayDuration,
552
472
  ...providerProps
553
473
  },
554
- /* @__PURE__ */ import_react6.default.createElement(
474
+ /* @__PURE__ */ import_react5.default.createElement(
555
475
  TooltipPrimitive.Root,
556
476
  {
557
477
  open,
@@ -559,13 +479,94 @@ var Tooltip = ({
559
479
  onOpenChange,
560
480
  ...props
561
481
  },
562
- /* @__PURE__ */ import_react6.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
563
- /* @__PURE__ */ import_react6.default.createElement(TooltipContent, { side, align: "center", ...contentProps }, content)
482
+ /* @__PURE__ */ import_react5.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
483
+ /* @__PURE__ */ import_react5.default.createElement(TooltipContent, { side, align: "center", ...contentProps }, content)
564
484
  )
565
485
  );
566
486
  };
567
487
 
568
- // components/blocks/cards/PricingCard.tsx
488
+ // elements/chip/Chip.tsx
489
+ var import_react6 = __toESM(require("react"));
490
+ var Chip = import_react6.default.forwardRef(
491
+ ({
492
+ label,
493
+ size = "normal",
494
+ icon,
495
+ color,
496
+ radius = "inherit",
497
+ dotType,
498
+ ...rest
499
+ }, ref) => {
500
+ let defaultStyles = "hawa-flex hawa-flex-row hawa-w-fit hawa-gap-1 hawa-items-center hawa-px-2.5 hawa-py-1 hawa-font-bold ";
501
+ let radiusStyles = {
502
+ inherit: " hawa-rounded",
503
+ full: "hawa-rounded-full",
504
+ none: "hawa-rounded-none"
505
+ };
506
+ let sizeStyles = {
507
+ small: "hawa-h-[15px] hawa-leading-4 hawa-px-0 hawa-py-0 hawa-text-[9px] hawa-gap-0.5 ",
508
+ normal: "hawa-h-fit hawa-text-xs",
509
+ large: "hawa-text-base"
510
+ };
511
+ let dotStyles = {
512
+ small: "hawa-flex hawa-h-1 hawa-w-1 hawa-rounded-full",
513
+ normal: "hawa-flex hawa-h-2 hawa-w-2 hawa-rounded-full",
514
+ large: "hawa-flex hawa-h-3 hawa-w-3 hawa-rounded-full"
515
+ };
516
+ let dotTypeStyles = {
517
+ available: "hawa-bg-green-500",
518
+ unavailable: "hawa-bg-red-500"
519
+ };
520
+ let colorStyles = {
521
+ green: "hawa-bg-green-100 hawa-text-green-500 dark:hawa-bg-green-400 dark:hawa-text-green-800",
522
+ blue: "hawa-bg-blue-100 hawa-text-blue-500 dark:hawa-bg-blue-400 dark:hawa-text-blue-100",
523
+ red: "hawa-bg-red-100 hawa-text-red-500 dark:hawa-bg-red-400 dark:hawa-text-red-100",
524
+ yellow: "hawa-bg-yellow-100 hawa-text-yellow-600 dark:hawa-bg-yellow-400 dark:hawa-text-yellow-800",
525
+ orange: "hawa-bg-orange-100 hawa-text-orange-500 dark:hawa-bg-orange-400 dark:hawa-text-orange-100",
526
+ purple: "hawa-bg-purple-100 hawa-text-purple-500 dark:hawa-bg-purple-400 dark:hawa-text-purple-100",
527
+ cyan: "hawa-bg-cyan-100 hawa-text-cyan-800 dark:hawa-bg-cyan-400 dark:hawa-text-cyan-800",
528
+ hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-500 hawa-via-red-500 hawa-to-yellow-500 ",
529
+ oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-300 hawa-via-blue-500 hawa-to-purple-600"
530
+ };
531
+ if (label) {
532
+ return /* @__PURE__ */ import_react6.default.createElement(
533
+ "span",
534
+ {
535
+ ...rest,
536
+ ref,
537
+ className: cn(
538
+ defaultStyles,
539
+ sizeStyles[size],
540
+ radiusStyles[radius],
541
+ color ? colorStyles[color] : "hawa-border hawa-bg-none"
542
+ )
543
+ },
544
+ dotType && /* @__PURE__ */ import_react6.default.createElement(
545
+ "span",
546
+ {
547
+ className: cn(dotStyles[size], dotTypeStyles[dotType])
548
+ }
549
+ ),
550
+ icon && icon,
551
+ label
552
+ );
553
+ } else {
554
+ return /* @__PURE__ */ import_react6.default.createElement(
555
+ "span",
556
+ {
557
+ ...rest,
558
+ ref,
559
+ className: cn(
560
+ "hawa-h-2 hawa-w-2 hawa-rounded-full",
561
+ color ? colorStyles[color] : "hawa-border hawa-bg-none"
562
+ )
563
+ }
564
+ );
565
+ }
566
+ }
567
+ );
568
+
569
+ // blocks/cards/PricingCard.tsx
569
570
  var PricingCard = ({
570
571
  size = "medium",
571
572
  direction = "ltr",
@@ -674,10 +675,10 @@ var PricingCard = ({
674
675
  );
675
676
  };
676
677
 
677
- // components/blocks/cards/ItemCard.tsx
678
+ // blocks/cards/ItemCard.tsx
678
679
  var import_react9 = __toESM(require("react"));
679
680
 
680
- // components/elements/dropdownMenu/DropdownMenu.tsx
681
+ // elements/dropdownMenu/DropdownMenu.tsx
681
682
  var React11 = __toESM(require("react"));
682
683
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
683
684
  var DropdownMenuSubTrigger = React11.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React11.createElement(
@@ -857,16 +858,16 @@ var DropdownMenuShortcut = ({
857
858
  };
858
859
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
859
860
 
860
- // components/elements/stopPropagationWrapper/StopPropagationWrapper.tsx
861
+ // elements/stopPropagationWrapper/StopPropagationWrapper.tsx
861
862
  var import_react8 = __toESM(require("react"));
862
863
 
863
- // components/blocks/cards/LandingCard.tsx
864
+ // blocks/cards/LandingCard.tsx
864
865
  var import_react10 = __toESM(require("react"));
865
866
 
866
- // components/elements/radio/Radio.tsx
867
+ // elements/radio/Radio.tsx
867
868
  var import_react11 = __toESM(require("react"));
868
869
 
869
- // components/elements/label/Label.tsx
870
+ // elements/label/Label.tsx
870
871
  var React15 = __toESM(require("react"));
871
872
  var Label2 = React15.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React15.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React15.createElement(
872
873
  "label",
@@ -909,7 +910,7 @@ var Label2 = React15.forwardRef(({ className, hint, hintSide, required, children
909
910
  )));
910
911
  Label2.displayName = "Label";
911
912
 
912
- // components/elements/radio/Radio.tsx
913
+ // elements/radio/Radio.tsx
913
914
  var Radio = ({
914
915
  design = "default",
915
916
  width = "default",
@@ -1095,7 +1096,7 @@ var Radio = ({
1095
1096
  }
1096
1097
  };
1097
1098
 
1098
- // components/blocks/pricing/PricingPlans.tsx
1099
+ // blocks/pricing/PricingPlans.tsx
1099
1100
  var PricingPlans = ({
1100
1101
  mainContainerProps,
1101
1102
  cardsContainerProps,
@@ -1162,10 +1163,10 @@ var PricingPlans = ({
1162
1163
  ));
1163
1164
  };
1164
1165
 
1165
- // components/blocks/pricing/ComparingPlans.tsx
1166
+ // blocks/pricing/ComparingPlans.tsx
1166
1167
  var import_react16 = __toESM(require("react"));
1167
1168
 
1168
- // components/elements/scrollArea/ScrollArea.tsx
1169
+ // elements/scrollArea/ScrollArea.tsx
1169
1170
  var React18 = __toESM(require("react"));
1170
1171
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
1171
1172
  var ScrollArea = React18.forwardRef(({ className, children, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React18.createElement(
@@ -1205,13 +1206,13 @@ var ScrollBar = React18.forwardRef(({ className, orientation = "vertical", ...pr
1205
1206
  ));
1206
1207
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
1207
1208
 
1208
- // components/icons/Emojis.tsx
1209
+ // icons/Emojis.tsx
1209
1210
  var import_react13 = __toESM(require("react"));
1210
1211
 
1211
- // components/icons/InputIcons.tsx
1212
+ // icons/InputIcons.tsx
1212
1213
  var import_react14 = __toESM(require("react"));
1213
1214
 
1214
- // components/icons/CommonIcons.tsx
1215
+ // icons/CommonIcons.tsx
1215
1216
  var import_react15 = __toESM(require("react"));
1216
1217
  var CheckMark = ({ size = "default", className }) => {
1217
1218
  let sizeStyles = {
@@ -1260,7 +1261,7 @@ var UncheckMark = ({ size = "default", className }) => {
1260
1261
  );
1261
1262
  };
1262
1263
 
1263
- // components/blocks/pricing/ComparingPlans.tsx
1264
+ // blocks/pricing/ComparingPlans.tsx
1264
1265
  var ComparingPlans = (props) => {
1265
1266
  const uniqueFeatures = Array.from(
1266
1267
  new Set(
@@ -1330,7 +1331,7 @@ var ComparingPlans = (props) => {
1330
1331
  {
1331
1332
  key: featureIndex,
1332
1333
  className: cn(
1333
- "hawa-border-foreground-muted dark:text-white hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700",
1334
+ "hawa-border-foreground-muted hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
1334
1335
  featureIndex === 0 ? "" : "hawa-border-t"
1335
1336
  )
1336
1337
  },
@@ -1425,7 +1426,7 @@ var ComparingPlans = (props) => {
1425
1426
  })));
1426
1427
  };
1427
1428
 
1428
- // components/blocks/pricing/HorizontalPricing.tsx
1429
+ // blocks/pricing/HorizontalPricing.tsx
1429
1430
  var import_react17 = __toESM(require("react"));
1430
1431
  var HorizontalPricing = (props) => {
1431
1432
  const [selectedCard, setSelectedCard] = (0, import_react17.useState)("");
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Chip,
3
3
  ScrollArea
4
- } from "../../chunk-OE23TTPS.mjs";
5
- import "../../chunk-ZCZ3WARS.mjs";
4
+ } from "../../chunk-POIP5U4M.mjs";
5
+ import "../../chunk-ZS3FB3PO.mjs";
6
6
  import {
7
7
  Radio
8
- } from "../../chunk-M2ZS3EDT.mjs";
8
+ } from "../../chunk-OAXF3RCQ.mjs";
9
9
  import {
10
10
  CheckMark,
11
11
  UncheckMark
12
- } from "../../chunk-ATUSR6VI.mjs";
12
+ } from "../../chunk-U3TZWNDZ.mjs";
13
13
  import {
14
14
  Button,
15
15
  Card,
16
16
  Skeleton,
17
17
  Tooltip,
18
18
  cn
19
- } from "../../chunk-FYH74ZRQ.mjs";
19
+ } from "../../chunk-AREFDTXK.mjs";
20
20
 
21
- // components/blocks/pricing/PricingPlans.tsx
21
+ // blocks/pricing/PricingPlans.tsx
22
22
  import React8 from "react";
23
23
 
24
- // components/blocks/cards/ActionCard.tsx
24
+ // blocks/cards/ActionCard.tsx
25
25
  import React, { useState } from "react";
26
26
 
27
- // components/blocks/cards/AdCard.tsx
27
+ // blocks/cards/AdCard.tsx
28
28
  import React2, { useState as useState2, useEffect, useRef } from "react";
29
29
 
30
- // components/blocks/cards/PricingCard.tsx
30
+ // blocks/cards/PricingCard.tsx
31
31
  import React4 from "react";
32
32
 
33
- // components/elements/separator/Separator.tsx
33
+ // elements/separator/Separator.tsx
34
34
  import * as React3 from "react";
35
35
  var Separator = ({
36
36
  className,
@@ -48,7 +48,7 @@ var Separator = ({
48
48
  }
49
49
  );
50
50
 
51
- // components/blocks/cards/PricingCard.tsx
51
+ // blocks/cards/PricingCard.tsx
52
52
  var PricingCard = ({
53
53
  size = "medium",
54
54
  direction = "ltr",
@@ -157,10 +157,10 @@ var PricingCard = ({
157
157
  );
158
158
  };
159
159
 
160
- // components/blocks/cards/ItemCard.tsx
160
+ // blocks/cards/ItemCard.tsx
161
161
  import React6, { useEffect as useEffect2, useState as useState3 } from "react";
162
162
 
163
- // components/elements/dropdownMenu/DropdownMenu.tsx
163
+ // elements/dropdownMenu/DropdownMenu.tsx
164
164
  import * as React5 from "react";
165
165
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
166
166
  var DropdownMenuSubTrigger = React5.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React5.createElement(
@@ -340,10 +340,10 @@ var DropdownMenuShortcut = ({
340
340
  };
341
341
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
342
342
 
343
- // components/blocks/cards/LandingCard.tsx
343
+ // blocks/cards/LandingCard.tsx
344
344
  import React7 from "react";
345
345
 
346
- // components/blocks/pricing/PricingPlans.tsx
346
+ // blocks/pricing/PricingPlans.tsx
347
347
  var PricingPlans = ({
348
348
  mainContainerProps,
349
349
  cardsContainerProps,
@@ -410,7 +410,7 @@ var PricingPlans = ({
410
410
  ));
411
411
  };
412
412
 
413
- // components/blocks/pricing/ComparingPlans.tsx
413
+ // blocks/pricing/ComparingPlans.tsx
414
414
  import React9 from "react";
415
415
  var ComparingPlans = (props) => {
416
416
  const uniqueFeatures = Array.from(
@@ -481,7 +481,7 @@ var ComparingPlans = (props) => {
481
481
  {
482
482
  key: featureIndex,
483
483
  className: cn(
484
- "hawa-border-foreground-muted dark:text-white hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700",
484
+ "hawa-border-foreground-muted hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
485
485
  featureIndex === 0 ? "" : "hawa-border-t"
486
486
  )
487
487
  },
@@ -576,7 +576,7 @@ var ComparingPlans = (props) => {
576
576
  })));
577
577
  };
578
578
 
579
- // components/blocks/pricing/HorizontalPricing.tsx
579
+ // blocks/pricing/HorizontalPricing.tsx
580
580
  import React10, { useState as useState4 } from "react";
581
581
  var HorizontalPricing = (props) => {
582
582
  const [selectedCard, setSelectedCard] = useState4("");
@@ -27,14 +27,14 @@ 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/breadcrumb/index.ts
30
+ // elements/breadcrumb/index.ts
31
31
  var breadcrumb_exports = {};
32
32
  __export(breadcrumb_exports, {
33
33
  Breadcrumb: () => Breadcrumb
34
34
  });
35
35
  module.exports = __toCommonJS(breadcrumb_exports);
36
36
 
37
- // components/elements/breadcrumb/Breadcrumb.tsx
37
+ // elements/breadcrumb/Breadcrumb.tsx
38
38
  var import_react = __toESM(require("react"));
39
39
  var Breadcrumb = ({
40
40
  breadcrumbLinks,
@@ -1,4 +1,4 @@
1
- // components/elements/breadcrumb/Breadcrumb.tsx
1
+ // elements/breadcrumb/Breadcrumb.tsx
2
2
  import React from "react";
3
3
  var Breadcrumb = ({
4
4
  breadcrumbLinks,
@@ -27,7 +27,7 @@ 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/button/index.ts
30
+ // elements/button/index.ts
31
31
  var button_exports = {};
32
32
  __export(button_exports, {
33
33
  Button: () => Button,
@@ -35,18 +35,18 @@ __export(button_exports, {
35
35
  });
36
36
  module.exports = __toCommonJS(button_exports);
37
37
 
38
- // components/elements/button/Button.tsx
38
+ // elements/button/Button.tsx
39
39
  var React2 = __toESM(require("react"));
40
40
  var import_class_variance_authority = require("class-variance-authority");
41
41
 
42
- // components/util.ts
42
+ // util/index.ts
43
43
  var import_clsx = require("clsx");
44
44
  var import_tailwind_merge = require("tailwind-merge");
45
45
  function cn(...inputs) {
46
46
  return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
47
47
  }
48
48
 
49
- // components/elements/loading/Loading.tsx
49
+ // elements/loading/Loading.tsx
50
50
  var import_react = __toESM(require("react"));
51
51
  var Loading = ({
52
52
  design = "spinner",
@@ -223,7 +223,7 @@ var Loading = ({
223
223
  }
224
224
  };
225
225
 
226
- // components/elements/button/Button.tsx
226
+ // elements/button/Button.tsx
227
227
  var buttonVariants = (0, import_class_variance_authority.cva)(
228
228
  "hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium 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",
229
229
  {
@@ -276,6 +276,7 @@ var Button = React2.forwardRef(
276
276
  className: cn(
277
277
  buttonVariants({ variant, size, className }),
278
278
  centered && "hawa-justify-center"
279
+ // "hawa-bg-red-500"
279
280
  ),
280
281
  ref,
281
282
  ...props
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cn
3
- } from "../chunk-TE3BKEXL.mjs";
3
+ } from "../chunk-TWNGV3RE.mjs";
4
4
 
5
- // components/elements/button/Button.tsx
5
+ // elements/button/Button.tsx
6
6
  import * as React2 from "react";
7
7
  import { cva } from "class-variance-authority";
8
8
 
9
- // components/elements/loading/Loading.tsx
9
+ // elements/loading/Loading.tsx
10
10
  import React from "react";
11
11
  var Loading = ({
12
12
  design = "spinner",
@@ -183,7 +183,7 @@ var Loading = ({
183
183
  }
184
184
  };
185
185
 
186
- // components/elements/button/Button.tsx
186
+ // elements/button/Button.tsx
187
187
  var buttonVariants = cva(
188
188
  "hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium 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",
189
189
  {
@@ -236,6 +236,7 @@ var Button = React2.forwardRef(
236
236
  className: cn(
237
237
  buttonVariants({ variant, size, className }),
238
238
  centered && "hawa-justify-center"
239
+ // "hawa-bg-red-500"
239
240
  ),
240
241
  ref,
241
242
  ...props
@@ -27,7 +27,7 @@ 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/card/index.ts
30
+ // elements/card/index.ts
31
31
  var card_exports = {};
32
32
  __export(card_exports, {
33
33
  Card: () => Card,
@@ -39,17 +39,17 @@ __export(card_exports, {
39
39
  });
40
40
  module.exports = __toCommonJS(card_exports);
41
41
 
42
- // components/elements/card/Card.tsx
42
+ // elements/card/Card.tsx
43
43
  var React = __toESM(require("react"));
44
44
 
45
- // components/util.ts
45
+ // util/index.ts
46
46
  var import_clsx = require("clsx");
47
47
  var import_tailwind_merge = require("tailwind-merge");
48
48
  function cn(...inputs) {
49
49
  return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
50
50
  }
51
51
 
52
- // components/elements/card/Card.tsx
52
+ // elements/card/Card.tsx
53
53
  var Card = React.forwardRef(
54
54
  ({ className, variant = "default", clickable = false, ...props }, ref) => {
55
55
  let variantStyles = {