@sikka/hawa 0.13.15-next → 0.13.17-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.
package/dist/index.css CHANGED
@@ -890,6 +890,9 @@ input[type="number"]::-webkit-inner-spin-button,
890
890
  margin-top: 1rem;
891
891
  margin-bottom: 1rem;
892
892
  }
893
+ .-hawa-mt-4 {
894
+ margin-top: -1rem;
895
+ }
893
896
  .hawa--mt-1 {
894
897
  margin-top: -0.25rem;
895
898
  }
@@ -2049,19 +2052,36 @@ input[type="number"]::-webkit-inner-spin-button,
2049
2052
  --tw-gradient-to: rgb(74 222 128 / 0) var(--tw-gradient-to-position);
2050
2053
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2051
2054
  }
2055
+ .hawa-from-green-500 {
2056
+ --tw-gradient-from: #22c55e var(--tw-gradient-from-position);
2057
+ --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
2058
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2059
+ }
2052
2060
  .hawa-from-pink-500 {
2053
2061
  --tw-gradient-from: #ec4899 var(--tw-gradient-from-position);
2054
2062
  --tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);
2055
2063
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2056
2064
  }
2065
+ .hawa-from-pink-700 {
2066
+ --tw-gradient-from: #be185d var(--tw-gradient-from-position);
2067
+ --tw-gradient-to: rgb(190 24 93 / 0) var(--tw-gradient-to-position);
2068
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2069
+ }
2057
2070
  .hawa-via-blue-500 {
2058
2071
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
2059
2072
  --tw-gradient-stops: var(--tw-gradient-from), #3b82f6 var(--tw-gradient-via-position), var(--tw-gradient-to);
2060
2073
  }
2074
+ .hawa-via-blue-700 {
2075
+ --tw-gradient-to: rgb(29 78 216 / 0) var(--tw-gradient-to-position);
2076
+ --tw-gradient-stops: var(--tw-gradient-from), #1d4ed8 var(--tw-gradient-via-position), var(--tw-gradient-to);
2077
+ }
2061
2078
  .hawa-via-red-500 {
2062
2079
  --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);
2063
2080
  --tw-gradient-stops: var(--tw-gradient-from), #ef4444 var(--tw-gradient-via-position), var(--tw-gradient-to);
2064
2081
  }
2082
+ .hawa-to-purple-500 {
2083
+ --tw-gradient-to: #a855f7 var(--tw-gradient-to-position);
2084
+ }
2065
2085
  .hawa-to-purple-600 {
2066
2086
  --tw-gradient-to: #9333ea var(--tw-gradient-to-position);
2067
2087
  }
@@ -2071,6 +2091,9 @@ input[type="number"]::-webkit-inner-spin-button,
2071
2091
  .hawa-to-yellow-500 {
2072
2092
  --tw-gradient-to: #eab308 var(--tw-gradient-to-position);
2073
2093
  }
2094
+ .hawa-to-yellow-600 {
2095
+ --tw-gradient-to: #ca8a04 var(--tw-gradient-to-position);
2096
+ }
2074
2097
  .hawa-bg-cover {
2075
2098
  background-size: cover;
2076
2099
  }
@@ -2397,10 +2420,6 @@ input[type="number"]::-webkit-inner-spin-button,
2397
2420
  --tw-text-opacity: 1;
2398
2421
  color: rgb(37 99 235 / var(--tw-text-opacity));
2399
2422
  }
2400
- .hawa-text-blue-700 {
2401
- --tw-text-opacity: 1;
2402
- color: rgb(29 78 216 / var(--tw-text-opacity));
2403
- }
2404
2423
  .hawa-text-card-foreground {
2405
2424
  color: hsl(var(--card-foreground));
2406
2425
  }
@@ -2449,10 +2468,6 @@ input[type="number"]::-webkit-inner-spin-button,
2449
2468
  --tw-text-opacity: 1;
2450
2469
  color: rgb(34 197 94 / var(--tw-text-opacity));
2451
2470
  }
2452
- .hawa-text-green-700 {
2453
- --tw-text-opacity: 1;
2454
- color: rgb(21 128 61 / var(--tw-text-opacity));
2455
- }
2456
2471
  .hawa-text-helper-color {
2457
2472
  color: hsl(var(--helper-text));
2458
2473
  }
@@ -2504,10 +2519,6 @@ input[type="number"]::-webkit-inner-spin-button,
2504
2519
  --tw-text-opacity: 1;
2505
2520
  color: rgb(239 68 68 / var(--tw-text-opacity));
2506
2521
  }
2507
- .hawa-text-red-700 {
2508
- --tw-text-opacity: 1;
2509
- color: rgb(185 28 28 / var(--tw-text-opacity));
2510
- }
2511
2522
  .hawa-text-secondary-foreground {
2512
2523
  color: hsl(var(--secondary-foreground));
2513
2524
  }
@@ -2527,10 +2538,6 @@ input[type="number"]::-webkit-inner-spin-button,
2527
2538
  --tw-text-opacity: 1;
2528
2539
  color: rgb(202 138 4 / var(--tw-text-opacity));
2529
2540
  }
2530
- .hawa-text-yellow-700 {
2531
- --tw-text-opacity: 1;
2532
- color: rgb(161 98 7 / var(--tw-text-opacity));
2533
- }
2534
2541
  .hawa-underline-offset-4 {
2535
2542
  text-underline-offset: 4px;
2536
2543
  }
@@ -2850,10 +2857,6 @@ body {
2850
2857
  .hover\:hawa-bg-accent:hover {
2851
2858
  background-color: hsl(var(--accent));
2852
2859
  }
2853
- .hover\:hawa-bg-blue-300:hover {
2854
- --tw-bg-opacity: 1;
2855
- background-color: rgb(147 197 253 / var(--tw-bg-opacity));
2856
- }
2857
2860
  .hover\:hawa-bg-destructive\/90:hover {
2858
2861
  background-color: hsl(var(--destructive) / 0.9);
2859
2862
  }
@@ -2869,10 +2872,6 @@ body {
2869
2872
  --tw-bg-opacity: 1;
2870
2873
  background-color: rgb(209 213 219 / var(--tw-bg-opacity));
2871
2874
  }
2872
- .hover\:hawa-bg-green-300:hover {
2873
- --tw-bg-opacity: 1;
2874
- background-color: rgb(134 239 172 / var(--tw-bg-opacity));
2875
- }
2876
2875
  .hover\:hawa-bg-muted:hover {
2877
2876
  background-color: hsl(var(--muted));
2878
2877
  }
@@ -2894,20 +2893,12 @@ body {
2894
2893
  .hover\:hawa-bg-primary\/90:hover {
2895
2894
  background-color: hsl(var(--primary) / 0.9);
2896
2895
  }
2897
- .hover\:hawa-bg-red-300:hover {
2898
- --tw-bg-opacity: 1;
2899
- background-color: rgb(252 165 165 / var(--tw-bg-opacity));
2900
- }
2901
2896
  .hover\:hawa-bg-secondary:hover {
2902
2897
  background-color: hsl(var(--secondary));
2903
2898
  }
2904
2899
  .hover\:hawa-bg-secondary\/80:hover {
2905
2900
  background-color: hsl(var(--secondary) / 0.8);
2906
2901
  }
2907
- .hover\:hawa-bg-yellow-300:hover {
2908
- --tw-bg-opacity: 1;
2909
- background-color: rgb(253 224 71 / var(--tw-bg-opacity));
2910
- }
2911
2902
  .hover\:hawa-text-accent-foreground:hover {
2912
2903
  color: hsl(var(--accent-foreground));
2913
2904
  }
@@ -3489,10 +3480,6 @@ body {
3489
3480
  --tw-bg-opacity: 1;
3490
3481
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
3491
3482
  }
3492
- :is(.hawa-dark .dark\:hawa-bg-blue-200) {
3493
- --tw-bg-opacity: 1;
3494
- background-color: rgb(191 219 254 / var(--tw-bg-opacity));
3495
- }
3496
3483
  :is(.hawa-dark .dark\:hawa-bg-blue-400) {
3497
3484
  --tw-bg-opacity: 1;
3498
3485
  background-color: rgb(96 165 250 / var(--tw-bg-opacity));
@@ -3501,10 +3488,6 @@ body {
3501
3488
  --tw-bg-opacity: 1;
3502
3489
  background-color: rgb(34 211 238 / var(--tw-bg-opacity));
3503
3490
  }
3504
- :is(.hawa-dark .dark\:hawa-bg-gray-200) {
3505
- --tw-bg-opacity: 1;
3506
- background-color: rgb(229 231 235 / var(--tw-bg-opacity));
3507
- }
3508
3491
  :is(.hawa-dark .dark\:hawa-bg-gray-600) {
3509
3492
  --tw-bg-opacity: 1;
3510
3493
  background-color: rgb(75 85 99 / var(--tw-bg-opacity));
@@ -3521,10 +3504,6 @@ body {
3521
3504
  --tw-bg-opacity: 1;
3522
3505
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
3523
3506
  }
3524
- :is(.hawa-dark .dark\:hawa-bg-green-200) {
3525
- --tw-bg-opacity: 1;
3526
- background-color: rgb(187 247 208 / var(--tw-bg-opacity));
3527
- }
3528
3507
  :is(.hawa-dark .dark\:hawa-bg-green-400) {
3529
3508
  --tw-bg-opacity: 1;
3530
3509
  background-color: rgb(74 222 128 / var(--tw-bg-opacity));
@@ -3552,18 +3531,10 @@ body {
3552
3531
  --tw-bg-opacity: 1;
3553
3532
  background-color: rgb(192 132 252 / var(--tw-bg-opacity));
3554
3533
  }
3555
- :is(.hawa-dark .dark\:hawa-bg-red-200) {
3556
- --tw-bg-opacity: 1;
3557
- background-color: rgb(254 202 202 / var(--tw-bg-opacity));
3558
- }
3559
3534
  :is(.hawa-dark .dark\:hawa-bg-red-400) {
3560
3535
  --tw-bg-opacity: 1;
3561
3536
  background-color: rgb(248 113 113 / var(--tw-bg-opacity));
3562
3537
  }
3563
- :is(.hawa-dark .dark\:hawa-bg-yellow-200) {
3564
- --tw-bg-opacity: 1;
3565
- background-color: rgb(254 240 138 / var(--tw-bg-opacity));
3566
- }
3567
3538
  :is(.hawa-dark .dark\:hawa-bg-yellow-400) {
3568
3539
  --tw-bg-opacity: 1;
3569
3540
  background-color: rgb(250 204 21 / var(--tw-bg-opacity));
@@ -3572,10 +3543,6 @@ body {
3572
3543
  --tw-text-opacity: 1;
3573
3544
  color: rgb(219 234 254 / var(--tw-text-opacity));
3574
3545
  }
3575
- :is(.hawa-dark .dark\:hawa-text-blue-800) {
3576
- --tw-text-opacity: 1;
3577
- color: rgb(30 64 175 / var(--tw-text-opacity));
3578
- }
3579
3546
  :is(.hawa-dark .dark\:hawa-text-cyan-800) {
3580
3547
  --tw-text-opacity: 1;
3581
3548
  color: rgb(21 94 117 / var(--tw-text-opacity));
@@ -3592,10 +3559,6 @@ body {
3592
3559
  --tw-text-opacity: 1;
3593
3560
  color: rgb(107 114 128 / var(--tw-text-opacity));
3594
3561
  }
3595
- :is(.hawa-dark .dark\:hawa-text-gray-800) {
3596
- --tw-text-opacity: 1;
3597
- color: rgb(31 41 55 / var(--tw-text-opacity));
3598
- }
3599
3562
  :is(.hawa-dark .dark\:hawa-text-green-800) {
3600
3563
  --tw-text-opacity: 1;
3601
3564
  color: rgb(22 101 52 / var(--tw-text-opacity));
@@ -3615,10 +3578,6 @@ body {
3615
3578
  --tw-text-opacity: 1;
3616
3579
  color: rgb(254 226 226 / var(--tw-text-opacity));
3617
3580
  }
3618
- :is(.hawa-dark .dark\:hawa-text-red-800) {
3619
- --tw-text-opacity: 1;
3620
- color: rgb(153 27 27 / var(--tw-text-opacity));
3621
- }
3622
3581
  :is(.hawa-dark .dark\:hawa-text-white) {
3623
3582
  --tw-text-opacity: 1;
3624
3583
  color: rgb(255 255 255 / var(--tw-text-opacity));
package/dist/index.d.mts CHANGED
@@ -325,13 +325,14 @@ interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
325
325
  }
326
326
  declare function Skeleton({ className, content, animation, ...props }: SkeletonProps): React__default.JSX.Element;
327
327
 
328
+ type ChipColors = "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
328
329
  type ChipTypes = {
329
330
  /** The text inside the chip */
330
331
  label: string;
331
332
  /** The small icon before the chip label */
332
333
  icon?: JSX.Element;
333
334
  /** The color of the chip, must be a tailwind color */
334
- color?: "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
335
+ color?: ChipColors;
335
336
  /** The size of the chip */
336
337
  size?: "small" | "normal" | "large";
337
338
  /** Enable/Disable the dot before the label of the chip */
@@ -343,7 +344,7 @@ type ChipTypes = {
343
344
  declare const Chip: FC<ChipTypes>;
344
345
 
345
346
  type AlertTypes = {
346
- severity?: SeverityType;
347
+ severity?: SeverityType | "hyper" | "oceanic";
347
348
  /** The title of the alert placed above the text of the alert. Can be used alone */
348
349
  title?: any;
349
350
  /** The text of the alert placed below the title of the alert. Can be used alone */
@@ -359,7 +360,7 @@ type AlertTypes = {
359
360
  variant: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost";
360
361
  }
361
362
  ];
362
- persistant?: boolean;
363
+ persistent?: boolean;
363
364
  icon?: any;
364
365
  className?: any;
365
366
  };
@@ -857,6 +858,10 @@ declare const Stats: FC<StatTypes>;
857
858
  type Item$1 = {
858
859
  value: string;
859
860
  label: string;
861
+ badge?: {
862
+ label: string;
863
+ color: ChipColors;
864
+ };
860
865
  icon?: any;
861
866
  subitems?: SubItem$1[];
862
867
  onClick?: () => void;
@@ -1677,4 +1682,4 @@ declare function useTabs(initialTab?: string): {
1677
1682
  handleTabChange: (index: any) => void;
1678
1683
  };
1679
1684
 
1680
- export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, AppTopbar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowSize };
1685
+ export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, AppTopbar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -325,13 +325,14 @@ interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
325
325
  }
326
326
  declare function Skeleton({ className, content, animation, ...props }: SkeletonProps): React__default.JSX.Element;
327
327
 
328
+ type ChipColors = "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
328
329
  type ChipTypes = {
329
330
  /** The text inside the chip */
330
331
  label: string;
331
332
  /** The small icon before the chip label */
332
333
  icon?: JSX.Element;
333
334
  /** The color of the chip, must be a tailwind color */
334
- color?: "green" | "blue" | "red" | "yellow" | "orange" | "purple" | "cyan" | "hyper" | "oceanic";
335
+ color?: ChipColors;
335
336
  /** The size of the chip */
336
337
  size?: "small" | "normal" | "large";
337
338
  /** Enable/Disable the dot before the label of the chip */
@@ -343,7 +344,7 @@ type ChipTypes = {
343
344
  declare const Chip: FC<ChipTypes>;
344
345
 
345
346
  type AlertTypes = {
346
- severity?: SeverityType;
347
+ severity?: SeverityType | "hyper" | "oceanic";
347
348
  /** The title of the alert placed above the text of the alert. Can be used alone */
348
349
  title?: any;
349
350
  /** The text of the alert placed below the title of the alert. Can be used alone */
@@ -359,7 +360,7 @@ type AlertTypes = {
359
360
  variant: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost";
360
361
  }
361
362
  ];
362
- persistant?: boolean;
363
+ persistent?: boolean;
363
364
  icon?: any;
364
365
  className?: any;
365
366
  };
@@ -857,6 +858,10 @@ declare const Stats: FC<StatTypes>;
857
858
  type Item$1 = {
858
859
  value: string;
859
860
  label: string;
861
+ badge?: {
862
+ label: string;
863
+ color: ChipColors;
864
+ };
860
865
  icon?: any;
861
866
  subitems?: SubItem$1[];
862
867
  onClick?: () => void;
@@ -1677,4 +1682,4 @@ declare function useTabs(initialTab?: string): {
1677
1682
  handleTabChange: (index: any) => void;
1678
1683
  };
1679
1684
 
1680
- export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, AppTopbar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowSize };
1685
+ export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, AppTopbar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowSize };
package/dist/index.js CHANGED
@@ -2406,8 +2406,8 @@ var Radio = function(_param) {
2406
2406
  htmlFor: opt.value.toString(),
2407
2407
  className: cn("hawa-text-sm hawa-font-medium dark:hawa-text-white", opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900")
2408
2408
  }, opt.label));
2409
- })), props.helperText && /* @__PURE__ */ import_react13.default.createElement("p", {
2410
- className: "hawa-text-xs hawa-text-helper-color"
2409
+ })), /* @__PURE__ */ import_react13.default.createElement("p", {
2410
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
2411
2411
  }, props.helperText));
2412
2412
  }
2413
2413
  };
@@ -2518,18 +2518,24 @@ var Alert = function(_param) {
2518
2518
  info: "",
2519
2519
  warning: "",
2520
2520
  error: "",
2521
- success: ""
2521
+ success: "",
2522
+ hyper: "",
2523
+ oceanic: ""
2522
2524
  };
2523
2525
  var styleVariant = {
2524
2526
  none: "hawa-text-gray-700 hawa-bg-gray-100 dark:hawa-bg-gray-900 ",
2525
2527
  info: "hawa-text-info-foreground hawa-bg-info/90",
2526
2528
  warning: "hawa-text-warning-foreground hawa-bg-warning/90",
2527
2529
  error: "hawa-text-destructive-foreground hawa-bg-destructive/90",
2528
- success: "hawa-text-success-foreground hawa-bg-success/90"
2530
+ success: "hawa-text-success-foreground hawa-bg-success/90",
2531
+ hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
2532
+ oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
2529
2533
  };
2530
2534
  return /* @__PURE__ */ import_react16.default.createElement("div", {
2531
2535
  ref: alertRef
2532
2536
  }, /* @__PURE__ */ import_react16.default.createElement("div", {
2537
+ "data-testid": "alert",
2538
+ "aria-label": "Alert",
2533
2539
  role: "alert",
2534
2540
  dir: direction,
2535
2541
  className: (0, import_clsx6.default)("hawa-relative hawa-mb-4 hawa-flex hawa-flex-col hawa-rounded hawa-p-4 hawa-text-sm hawa-transition-all", styleVariant[severity], closed ? "hawa-opacity-0" : "hawa-opacity-100", className)
@@ -2542,7 +2548,7 @@ var Alert = function(_param) {
2542
2548
  }, /* @__PURE__ */ import_react16.default.createElement("span", {
2543
2549
  className: (0, import_clsx6.default)("hawa-font-bold", direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8")
2544
2550
  }, props.title), /* @__PURE__ */ import_react16.default.createElement("span", {
2545
- className: (0, import_clsx6.default)(direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8", props.persistant ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]")
2551
+ className: (0, import_clsx6.default)(direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8", props.persistent ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]")
2546
2552
  }, props.text), props.actions && /* @__PURE__ */ import_react16.default.createElement("div", {
2547
2553
  className: "hawa-mt-2 hawa-flex hawa-flex-row hawa-gap-2"
2548
2554
  }, props.actions.map(function(act, index) {
@@ -2551,7 +2557,7 @@ var Alert = function(_param) {
2551
2557
  variant: act.variant,
2552
2558
  onClick: act.onClick()
2553
2559
  }, act.label);
2554
- })))), !props.persistant && /* @__PURE__ */ import_react16.default.createElement("button", {
2560
+ })))), !props.persistent && /* @__PURE__ */ import_react16.default.createElement("button", {
2555
2561
  type: "button",
2556
2562
  "data-dismiss-target": "#alert-default",
2557
2563
  "aria-label": "Close",
@@ -2629,9 +2635,9 @@ var Textarea = React27.forwardRef(function(_param, ref) {
2629
2635
  }, /* @__PURE__ */ React27.createElement("textarea", _object_spread({
2630
2636
  className: cn("hawa-flex hawa-min-h-[80px] hawa-w-full hawa-rounded-md hawa-border hawa-border-input hawa-bg-background hawa-px-3 hawa-py-2 hawa-text-sm hawa-ring-offset-background placeholder:hawa-text-muted-foreground focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50", className),
2631
2637
  ref: ref
2632
- }, props)), props.helperText && /* @__PURE__ */ React27.createElement("p", {
2633
- className: "hawa-text-xs hawa-text-helper-color"
2634
- }, props.helperText));
2638
+ }, props)), /* @__PURE__ */ React27.createElement("p", {
2639
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
2640
+ }, props.helperText), " ");
2635
2641
  });
2636
2642
  Textarea.displayName = "Textarea";
2637
2643
  // components/elements/Slider.tsx
@@ -2724,7 +2730,7 @@ var ColorPicker = function(_param) {
2724
2730
  value: selectedColor,
2725
2731
  className: cn("hawa-block hawa-h-[40px] hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-2 hawa-text-sm hawa-border-l-0 hawa-border-l-transparent hawa-rounded-l-none hawa-w-24")
2726
2732
  }, textInputProps)))), /* @__PURE__ */ import_react17.default.createElement("p", {
2727
- className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
2733
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
2728
2734
  }, props.helperText));
2729
2735
  };
2730
2736
  // components/elements/DestroyableCard.tsx
@@ -2842,8 +2848,8 @@ var PinInput = function(_param) {
2842
2848
  return e.target.select();
2843
2849
  }
2844
2850
  }, props));
2845
- })), props.helperText && /* @__PURE__ */ import_react19.default.createElement("p", {
2846
- className: "hawa-my-0 hawa-text-xs hawa-text-helper-color"
2851
+ })), /* @__PURE__ */ import_react19.default.createElement("p", {
2852
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
2847
2853
  }, props.helperText));
2848
2854
  };
2849
2855
  // components/elements/FileDropzone.tsx
@@ -4877,8 +4883,8 @@ var Select = function(_param) {
4877
4883
  onInputChange: function(newValue, action) {
4878
4884
  return props.onInputChange(newValue, action);
4879
4885
  }
4880
- }), props.helperText && /* @__PURE__ */ import_react21.default.createElement("p", {
4881
- className: "hawa-text-xs hawa-text-helper-color"
4886
+ }), /* @__PURE__ */ import_react21.default.createElement("p", {
4887
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
4882
4888
  }, props.helperText));
4883
4889
  };
4884
4890
  // components/elements/PhoneInput.tsx
@@ -4928,10 +4934,10 @@ var PhoneInput = function(props) {
4928
4934
  type: "tel",
4929
4935
  placeholder: "531045453"
4930
4936
  }))), /* @__PURE__ */ import_react22.default.createElement("p", {
4931
- className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
4937
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
4932
4938
  }, props.helperText));
4933
4939
  };
4934
- {}// components/elements/AppStores.tsx
4940
+ // components/elements/AppStores.tsx
4935
4941
  var import_react23 = __toESM(require("react"));
4936
4942
  var AppStores = function(props) {
4937
4943
  return /* @__PURE__ */ import_react23.default.createElement("div", {
@@ -5190,7 +5196,7 @@ var Input = function(_param) {
5190
5196
  })), props.iconInside && /* @__PURE__ */ import_react25.default.createElement("div", {
5191
5197
  className: "hawa-absolute hawa-end-2 hawa-top-[41px] hawa-mx-1 hawa--translate-y-1/2"
5192
5198
  }, props.iconInside), !forceHideHelperText && /* @__PURE__ */ import_react25.default.createElement("p", {
5193
- className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
5199
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
5194
5200
  }, props.helperText))));
5195
5201
  };
5196
5202
  // components/elements/DataTable.tsx
@@ -6187,13 +6193,14 @@ var Combobox = function(_param) {
6187
6193
  open: open,
6188
6194
  onOpenChange: setOpen
6189
6195
  }, /* @__PURE__ */ React51.createElement(PopoverTrigger, {
6196
+ asChild: true,
6190
6197
  disabled: props.isLoading || props.preview
6191
6198
  }, props.isLoading ? /* @__PURE__ */ React51.createElement("div", {
6192
6199
  className: "hawa-pb-2"
6193
6200
  }, /* @__PURE__ */ React51.createElement(Skeleton, {
6194
6201
  className: "hawa-h-[40px] hawa-w-full"
6195
6202
  })) : /* @__PURE__ */ React51.createElement("div", {
6196
- className: "hawa-flex hawa-flex-col hawa-gap-2 "
6203
+ className: "hawa-flex hawa-flex-col hawa-gap-2 hawa-items-start "
6197
6204
  }, /* @__PURE__ */ React51.createElement("div", {
6198
6205
  className: cn("hawa-absolute hawa-top-[22px] hawa-h-[0.8px] hawa-w-full hawa-bg-gray-200 hawa-transition-all dark:hawa-bg-gray-800", props.preview ? "hawa-opacity-100" : "hawa-opacity-0")
6199
6206
  }), /* @__PURE__ */ React51.createElement("button", {
@@ -6214,9 +6221,9 @@ var Combobox = function(_param) {
6214
6221
  }, /* @__PURE__ */ React51.createElement("path", {
6215
6222
  d: "m6 9 6 6 6-6"
6216
6223
  }))), /* @__PURE__ */ React51.createElement("p", {
6217
- className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
6218
- }, props.helperText), " ")), /* @__PURE__ */ React51.createElement(PopoverContent, {
6219
- className: cn("popover-w-parent")
6224
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
6225
+ }, props.helperText))), /* @__PURE__ */ React51.createElement(PopoverContent, {
6226
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
6220
6227
  }, /* @__PURE__ */ React51.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React51.createElement(CommandInput, {
6221
6228
  placeholder: props.searchPlaceholder
6222
6229
  }), /* @__PURE__ */ React51.createElement(CommandEmpty, null, "No framework found."), /* @__PURE__ */ React51.createElement(CommandGroup, {
@@ -6657,8 +6664,8 @@ var Stats = function(_param) {
6657
6664
  className: "hawa-text-2xl hawa-font-bold"
6658
6665
  }, props.number), props.isLoading && props.helperText ? /* @__PURE__ */ import_react33.default.createElement(Skeleton, {
6659
6666
  className: "hawa-mt-2 hawa-h-4 hawa-w-1/2"
6660
- }) : props.helperText && /* @__PURE__ */ import_react33.default.createElement("p", {
6661
- className: "hawa-text-xs hawa-text-muted-foreground"
6667
+ }) : /* @__PURE__ */ import_react33.default.createElement("p", {
6668
+ className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
6662
6669
  }, props.helperText), props.isLoading && props.chart ? /* @__PURE__ */ import_react33.default.createElement(Skeleton, {
6663
6670
  className: "hawa-mt-2 hawa-h-4 hawa-w-1/2"
6664
6671
  }) : props.chart));
@@ -6806,8 +6813,12 @@ var SidebarItem = function(_param) {
6806
6813
  }, /* @__PURE__ */ React58.createElement("div", {
6807
6814
  className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2"
6808
6815
  }, item.icon && item.icon, /* @__PURE__ */ React58.createElement("span", {
6809
- className: cn("hawa-whitespace-nowrap hawa-transition-all", isOpen ? "hawa-opacity-100" : "hawa-opacity-0")
6810
- }, item.label)));
6816
+ className: cn("hawa-whitespace-nowrap hawa-transition-all hawa-flex hawa-flex-row hawa-gap-2 hawa-items-center", isOpen ? "hawa-opacity-100" : "hawa-opacity-0")
6817
+ }, item.label, " ", item.badge && /* @__PURE__ */ React58.createElement(Chip, {
6818
+ label: item.badge.label,
6819
+ color: "hyper",
6820
+ size: "small"
6821
+ }))));
6811
6822
  }
6812
6823
  };
6813
6824
  // components/layout/Copyrights.tsx
package/dist/index.mjs CHANGED
@@ -1885,7 +1885,16 @@ var Radio = ({
1885
1885
  },
1886
1886
  opt.label
1887
1887
  )
1888
- ))), props.helperText && /* @__PURE__ */ React22.createElement("p", { className: "hawa-text-xs hawa-text-helper-color" }, props.helperText));
1888
+ ))), /* @__PURE__ */ React22.createElement(
1889
+ "p",
1890
+ {
1891
+ className: cn(
1892
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
1893
+ props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
1894
+ )
1895
+ },
1896
+ props.helperText
1897
+ ));
1889
1898
  }
1890
1899
  };
1891
1900
 
@@ -2033,18 +2042,24 @@ var Alert = ({
2033
2042
  info: "",
2034
2043
  warning: "",
2035
2044
  error: "",
2036
- success: ""
2045
+ success: "",
2046
+ hyper: "",
2047
+ oceanic: ""
2037
2048
  };
2038
2049
  let styleVariant = {
2039
2050
  none: "hawa-text-gray-700 hawa-bg-gray-100 dark:hawa-bg-gray-900 ",
2040
2051
  info: "hawa-text-info-foreground hawa-bg-info/90",
2041
2052
  warning: "hawa-text-warning-foreground hawa-bg-warning/90",
2042
2053
  error: "hawa-text-destructive-foreground hawa-bg-destructive/90",
2043
- success: "hawa-text-success-foreground hawa-bg-success/90"
2054
+ success: "hawa-text-success-foreground hawa-bg-success/90",
2055
+ hyper: "hawa-text-white hawa-bg-gradient-to-tl hawa-from-pink-700 hawa-via-red-500 hawa-to-yellow-600 ",
2056
+ oceanic: "hawa-text-white hawa-bg-gradient-to-bl hawa-from-green-500 hawa-via-blue-700 hawa-to-purple-500"
2044
2057
  };
2045
2058
  return /* @__PURE__ */ React25.createElement("div", { ref: alertRef }, /* @__PURE__ */ React25.createElement(
2046
2059
  "div",
2047
2060
  {
2061
+ "data-testid": "alert",
2062
+ "aria-label": "Alert",
2048
2063
  role: "alert",
2049
2064
  dir: direction,
2050
2065
  className: clsx6(
@@ -2074,7 +2089,7 @@ var Alert = ({
2074
2089
  {
2075
2090
  className: clsx6(
2076
2091
  direction === "rtl" ? "hawa-ml-8" : "hawa-mr-8",
2077
- props.persistant ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]"
2092
+ props.persistent ? "hawa-w-full" : "hawa-w-[calc(100% - 40px)]"
2078
2093
  )
2079
2094
  },
2080
2095
  props.text
@@ -2087,7 +2102,7 @@ var Alert = ({
2087
2102
  },
2088
2103
  act.label
2089
2104
  ))))),
2090
- !props.persistant && /* @__PURE__ */ React25.createElement(
2105
+ !props.persistent && /* @__PURE__ */ React25.createElement(
2091
2106
  "button",
2092
2107
  {
2093
2108
  type: "button",
@@ -2183,7 +2198,16 @@ var Textarea = React27.forwardRef(
2183
2198
  ref,
2184
2199
  ...props
2185
2200
  }
2186
- ), props.helperText && /* @__PURE__ */ React27.createElement("p", { className: "hawa-text-xs hawa-text-helper-color" }, props.helperText));
2201
+ ), /* @__PURE__ */ React27.createElement(
2202
+ "p",
2203
+ {
2204
+ className: cn(
2205
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
2206
+ props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
2207
+ )
2208
+ },
2209
+ props.helperText
2210
+ ), " ");
2187
2211
  }
2188
2212
  );
2189
2213
  Textarea.displayName = "Textarea";
@@ -2290,7 +2314,7 @@ var ColorPicker = ({
2290
2314
  "p",
2291
2315
  {
2292
2316
  className: cn(
2293
- "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all",
2317
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
2294
2318
  props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
2295
2319
  )
2296
2320
  },
@@ -2442,7 +2466,16 @@ var PinInput = ({
2442
2466
  ...props
2443
2467
  }
2444
2468
  ))
2445
- ), props.helperText && /* @__PURE__ */ React31.createElement("p", { className: "hawa-my-0 hawa-text-xs hawa-text-helper-color" }, props.helperText));
2469
+ ), /* @__PURE__ */ React31.createElement(
2470
+ "p",
2471
+ {
2472
+ className: cn(
2473
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
2474
+ props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
2475
+ )
2476
+ },
2477
+ props.helperText
2478
+ ));
2446
2479
  };
2447
2480
 
2448
2481
  // components/elements/FileDropzone.tsx
@@ -4494,7 +4527,16 @@ var Select = ({ labelKey = "label", ...props }) => {
4494
4527
  onInputChange: (newValue, action) => props.onInputChange(newValue, action)
4495
4528
  }
4496
4529
  ),
4497
- props.helperText && /* @__PURE__ */ React33.createElement("p", { className: "hawa-text-xs hawa-text-helper-color" }, props.helperText)
4530
+ /* @__PURE__ */ React33.createElement(
4531
+ "p",
4532
+ {
4533
+ className: cn(
4534
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
4535
+ props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
4536
+ )
4537
+ },
4538
+ props.helperText
4539
+ )
4498
4540
  );
4499
4541
  };
4500
4542
 
@@ -4548,15 +4590,13 @@ var PhoneInput = (props) => {
4548
4590
  "p",
4549
4591
  {
4550
4592
  className: cn(
4551
- "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all",
4593
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
4552
4594
  props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
4553
4595
  )
4554
4596
  },
4555
4597
  props.helperText
4556
4598
  ));
4557
4599
  };
4558
- {
4559
- }
4560
4600
 
4561
4601
  // components/elements/AppStores.tsx
4562
4602
  import React35 from "react";
@@ -4861,7 +4901,7 @@ var Input = ({
4861
4901
  "p",
4862
4902
  {
4863
4903
  className: cn(
4864
- "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all",
4904
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
4865
4905
  props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
4866
4906
  )
4867
4907
  },
@@ -5903,7 +5943,7 @@ var Combobox = ({
5903
5943
  )
5904
5944
  },
5905
5945
  props.label && /* @__PURE__ */ React51.createElement(Label2, null, props.label),
5906
- /* @__PURE__ */ React51.createElement(PopoverPrimitive2.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ React51.createElement(PopoverTrigger, { disabled: props.isLoading || props.preview }, props.isLoading ? /* @__PURE__ */ React51.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React51.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React51.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2 " }, /* @__PURE__ */ React51.createElement(
5946
+ /* @__PURE__ */ React51.createElement(PopoverPrimitive2.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ React51.createElement(PopoverTrigger, { asChild: true, disabled: props.isLoading || props.preview }, props.isLoading ? /* @__PURE__ */ React51.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React51.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React51.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2 hawa-items-start " }, /* @__PURE__ */ React51.createElement(
5907
5947
  "div",
5908
5948
  {
5909
5949
  className: cn(
@@ -5946,47 +5986,53 @@ var Combobox = ({
5946
5986
  "p",
5947
5987
  {
5948
5988
  className: cn(
5949
- "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all",
5989
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
5950
5990
  props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
5951
5991
  )
5952
5992
  },
5953
5993
  props.helperText
5954
- ), " ")), /* @__PURE__ */ React51.createElement(PopoverContent, { className: cn("popover-w-parent") }, /* @__PURE__ */ React51.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React51.createElement(CommandInput, { placeholder: props.searchPlaceholder }), /* @__PURE__ */ React51.createElement(CommandEmpty, null, "No framework found."), /* @__PURE__ */ React51.createElement(CommandGroup, { className: " hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item) => /* @__PURE__ */ React51.createElement(
5955
- CommandItem,
5994
+ ))), /* @__PURE__ */ React51.createElement(
5995
+ PopoverContent,
5956
5996
  {
5957
- key: getProperty(item, valueKey),
5958
- onSelect: () => {
5959
- const newValue = getProperty(item, valueKey);
5960
- setValue(newValue === value ? "" : newValue);
5961
- if (props.onChange) {
5962
- props.onChange(
5963
- newValue === value ? "" : newValue
5964
- );
5965
- }
5966
- setOpen(false);
5967
- }
5997
+ className: cn("popover-w-parent", props.helperText && "-hawa-mt-4")
5968
5998
  },
5969
- /* @__PURE__ */ React51.createElement(
5970
- "svg",
5999
+ /* @__PURE__ */ React51.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React51.createElement(CommandInput, { placeholder: props.searchPlaceholder }), /* @__PURE__ */ React51.createElement(CommandEmpty, null, "No framework found."), /* @__PURE__ */ React51.createElement(CommandGroup, { className: " hawa-max-h-[200px] hawa-overflow-y-auto" }, data.map((item) => /* @__PURE__ */ React51.createElement(
6000
+ CommandItem,
5971
6001
  {
5972
- xmlns: "http://www.w3.org/2000/svg",
5973
- width: "24",
5974
- height: "24",
5975
- viewBox: "0 0 24 24",
5976
- fill: "none",
5977
- stroke: "currentColor",
5978
- strokeWidth: "2",
5979
- strokeLinecap: "round",
5980
- strokeLinejoin: "round",
5981
- className: cn(
5982
- "hawa-mr-2 hawa-h-4 hawa-w-4",
5983
- value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
5984
- )
6002
+ key: getProperty(item, valueKey),
6003
+ onSelect: () => {
6004
+ const newValue = getProperty(item, valueKey);
6005
+ setValue(newValue === value ? "" : newValue);
6006
+ if (props.onChange) {
6007
+ props.onChange(
6008
+ newValue === value ? "" : newValue
6009
+ );
6010
+ }
6011
+ setOpen(false);
6012
+ }
5985
6013
  },
5986
- /* @__PURE__ */ React51.createElement("polyline", { points: "20 6 9 17 4 12" })
5987
- ),
5988
- getProperty(item, labelKey)
5989
- ))))))
6014
+ /* @__PURE__ */ React51.createElement(
6015
+ "svg",
6016
+ {
6017
+ xmlns: "http://www.w3.org/2000/svg",
6018
+ width: "24",
6019
+ height: "24",
6020
+ viewBox: "0 0 24 24",
6021
+ fill: "none",
6022
+ stroke: "currentColor",
6023
+ strokeWidth: "2",
6024
+ strokeLinecap: "round",
6025
+ strokeLinejoin: "round",
6026
+ className: cn(
6027
+ "hawa-mr-2 hawa-h-4 hawa-w-4",
6028
+ value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
6029
+ )
6030
+ },
6031
+ /* @__PURE__ */ React51.createElement("polyline", { points: "20 6 9 17 4 12" })
6032
+ ),
6033
+ getProperty(item, labelKey)
6034
+ ))))
6035
+ ))
5990
6036
  );
5991
6037
  };
5992
6038
 
@@ -6455,7 +6501,16 @@ var Stats = ({ variant = "default", ...props }) => {
6455
6501
  className: cn(props.className)
6456
6502
  },
6457
6503
  /* @__PURE__ */ React57.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between hawa-p-4 hawa-items-center" }, /* @__PURE__ */ React57.createElement(CardTitle, { className: "hawa-text-sm hawa-font-medium" }, props.label), props.icon && /* @__PURE__ */ React57.createElement("span", null, props.icon)),
6458
- /* @__PURE__ */ React57.createElement(CardContent, null, props.isLoading ? /* @__PURE__ */ React57.createElement(Skeleton, { className: "hawa-h-8 hawa-w-3/4" }) : /* @__PURE__ */ React57.createElement("div", { className: "hawa-text-2xl hawa-font-bold" }, props.number), props.isLoading && props.helperText ? /* @__PURE__ */ React57.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : props.helperText && /* @__PURE__ */ React57.createElement("p", { className: "hawa-text-xs hawa-text-muted-foreground" }, props.helperText), props.isLoading && props.chart ? /* @__PURE__ */ React57.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : props.chart)
6504
+ /* @__PURE__ */ React57.createElement(CardContent, null, props.isLoading ? /* @__PURE__ */ React57.createElement(Skeleton, { className: "hawa-h-8 hawa-w-3/4" }) : /* @__PURE__ */ React57.createElement("div", { className: "hawa-text-2xl hawa-font-bold" }, props.number), props.isLoading && props.helperText ? /* @__PURE__ */ React57.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : /* @__PURE__ */ React57.createElement(
6505
+ "p",
6506
+ {
6507
+ className: cn(
6508
+ "hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start",
6509
+ props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0"
6510
+ )
6511
+ },
6512
+ props.helperText
6513
+ ), props.isLoading && props.chart ? /* @__PURE__ */ React57.createElement(Skeleton, { className: "hawa-mt-2 hawa-h-4 hawa-w-1/2" }) : props.chart)
6459
6514
  );
6460
6515
  };
6461
6516
 
@@ -6644,11 +6699,13 @@ var SidebarItem = ({
6644
6699
  "span",
6645
6700
  {
6646
6701
  className: cn(
6647
- "hawa-whitespace-nowrap hawa-transition-all",
6702
+ "hawa-whitespace-nowrap hawa-transition-all hawa-flex hawa-flex-row hawa-gap-2 hawa-items-center",
6648
6703
  isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
6649
6704
  )
6650
6705
  },
6651
- item.label
6706
+ item.label,
6707
+ " ",
6708
+ item.badge && /* @__PURE__ */ React58.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
6652
6709
  ))
6653
6710
  );
6654
6711
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.13.15-next",
3
+ "version": "0.13.17-next",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {