@sikka/hawa 0.18.13-next → 0.18.15-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
@@ -1310,9 +1310,6 @@ input[type="number"]::-webkit-inner-spin-button,
1310
1310
  .hawa-h-24 {
1311
1311
  height: 6rem;
1312
1312
  }
1313
- .hawa-h-28 {
1314
- height: 7rem;
1315
- }
1316
1313
  .hawa-h-3 {
1317
1314
  height: 0.75rem;
1318
1315
  }
@@ -1403,6 +1400,12 @@ input[type="number"]::-webkit-inner-spin-button,
1403
1400
  .hawa-h-\[44px\] {
1404
1401
  height: 44px;
1405
1402
  }
1403
+ .hawa-h-\[72px\] {
1404
+ height: 72px;
1405
+ }
1406
+ .hawa-h-\[88px\] {
1407
+ height: 88px;
1408
+ }
1406
1409
  .hawa-h-\[calc\(100dvh\)\] {
1407
1410
  height: calc(100dvh);
1408
1411
  }
@@ -1492,9 +1495,6 @@ input[type="number"]::-webkit-inner-spin-button,
1492
1495
  .hawa-w-24 {
1493
1496
  width: 6rem;
1494
1497
  }
1495
- .hawa-w-28 {
1496
- width: 7rem;
1497
- }
1498
1498
  .hawa-w-3 {
1499
1499
  width: 0.75rem;
1500
1500
  }
@@ -1573,6 +1573,12 @@ input[type="number"]::-webkit-inner-spin-button,
1573
1573
  .hawa-w-\[47px\] {
1574
1574
  width: 47px;
1575
1575
  }
1576
+ .hawa-w-\[72px\] {
1577
+ width: 72px;
1578
+ }
1579
+ .hawa-w-\[88px\] {
1580
+ width: 88px;
1581
+ }
1576
1582
  .hawa-w-auto {
1577
1583
  width: auto;
1578
1584
  }
package/dist/index.d.mts CHANGED
@@ -367,7 +367,7 @@ interface AvatarProps {
367
367
  isUploadable?: boolean;
368
368
  src?: string;
369
369
  alt?: string;
370
- size?: "xs" | "sm" | "default" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
370
+ size?: "2xs" | "xs" | "sm" | "default" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
371
371
  radius?: RadiusType;
372
372
  className?: string;
373
373
  }
@@ -491,6 +491,8 @@ type TooltipTypes = {
491
491
  /** Duration of the delay before the tooltip appears. */
492
492
  delayDuration?: any;
493
493
  triggerProps?: TooltipPrimitive.TooltipTriggerProps;
494
+ contentProps?: TooltipPrimitive.TooltipContentProps;
495
+ providerProps?: TooltipPrimitive.TooltipProviderProps;
494
496
  };
495
497
  declare const Tooltip: React__default.FunctionComponent<TooltipTypes>;
496
498
 
@@ -1837,4 +1839,4 @@ declare function useTabs(initialTab?: string): {
1837
1839
  handleTabChange: (index: any) => void;
1838
1840
  };
1839
1841
 
1840
- export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, 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$1 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, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
1842
+ export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -367,7 +367,7 @@ interface AvatarProps {
367
367
  isUploadable?: boolean;
368
368
  src?: string;
369
369
  alt?: string;
370
- size?: "xs" | "sm" | "default" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
370
+ size?: "2xs" | "xs" | "sm" | "default" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
371
371
  radius?: RadiusType;
372
372
  className?: string;
373
373
  }
@@ -491,6 +491,8 @@ type TooltipTypes = {
491
491
  /** Duration of the delay before the tooltip appears. */
492
492
  delayDuration?: any;
493
493
  triggerProps?: TooltipPrimitive.TooltipTriggerProps;
494
+ contentProps?: TooltipPrimitive.TooltipContentProps;
495
+ providerProps?: TooltipPrimitive.TooltipProviderProps;
494
496
  };
495
497
  declare const Tooltip: React__default.FunctionComponent<TooltipTypes>;
496
498
 
@@ -1837,4 +1839,4 @@ declare function useTabs(initialTab?: string): {
1837
1839
  handleTabChange: (index: any) => void;
1838
1840
  };
1839
1841
 
1840
- export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, 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$1 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, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
1842
+ export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
package/dist/index.js CHANGED
@@ -3012,19 +3012,29 @@ var Tooltip = ({
3012
3012
  defaultOpen,
3013
3013
  onOpenChange,
3014
3014
  triggerProps,
3015
+ contentProps,
3016
+ providerProps,
3015
3017
  delayDuration = 300,
3016
3018
  ...props
3017
3019
  }) => {
3018
- return /* @__PURE__ */ import_react9.default.createElement(TooltipPrimitive.TooltipProvider, { delayDuration }, /* @__PURE__ */ import_react9.default.createElement(
3019
- TooltipPrimitive.Root,
3020
+ return /* @__PURE__ */ import_react9.default.createElement(
3021
+ TooltipPrimitive.TooltipProvider,
3020
3022
  {
3021
- open,
3022
- defaultOpen,
3023
- onOpenChange
3023
+ delayDuration,
3024
+ ...providerProps
3024
3025
  },
3025
- /* @__PURE__ */ import_react9.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
3026
- /* @__PURE__ */ import_react9.default.createElement(TooltipContent, { side, align: "center", ...props }, content)
3027
- ));
3026
+ /* @__PURE__ */ import_react9.default.createElement(
3027
+ TooltipPrimitive.Root,
3028
+ {
3029
+ open,
3030
+ defaultOpen,
3031
+ onOpenChange,
3032
+ ...props
3033
+ },
3034
+ /* @__PURE__ */ import_react9.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
3035
+ /* @__PURE__ */ import_react9.default.createElement(TooltipContent, { side, align: "center", ...contentProps }, content)
3036
+ )
3037
+ );
3028
3038
  };
3029
3039
 
3030
3040
  // components/elements/Label.tsx
@@ -4505,14 +4515,17 @@ var Avatar = ({
4505
4515
  ...props
4506
4516
  }) => {
4507
4517
  let sizeStyles = {
4508
- xs: "hawa-h-4 hawa-w-4",
4518
+ "2xs": "hawa-h-4 hawa-w-4",
4519
+ xs: "hawa-h-6 hawa-w-6",
4509
4520
  sm: "hawa-h-8 hawa-w-8",
4510
- default: "hawa-h-12 hawa-w-12",
4511
- lg: "hawa-h-16 hawa-w-16",
4512
- xl: "hawa-h-20 hawa-w-20",
4513
- "2xl": "hawa-h-24 hawa-w-24",
4514
- "3xl": "hawa-h-28 hawa-w-28",
4515
- "4xl": "hawa-h-32 hawa-w-32"
4521
+ default: "hawa-h-10 hawa-w-10",
4522
+ lg: "hawa-h-12 hawa-w-12",
4523
+ xl: "hawa-h-14 hawa-w-14",
4524
+ "2xl": "hawa-h-16 hawa-w-16",
4525
+ "3xl": "hawa-h-[72px] hawa-w-[72px]",
4526
+ "4xl": "hawa-h-20 hawa-w-20",
4527
+ "5xl": "hawa-h-[88px] hawa-w-[88px]",
4528
+ "6xl": "hawa-h-24 hawa-w-24"
4516
4529
  };
4517
4530
  let radiusStyles = {
4518
4531
  full: "hawa-rounded-full",
@@ -4533,7 +4546,7 @@ var Avatar = ({
4533
4546
  FileUploader,
4534
4547
  {
4535
4548
  className: cn(
4536
- "hawa-bg-red-400 hawa-absolute hawa-top-0 hawa-left-0 hawa-opacity-0",
4549
+ "hawa-bg-red-400 hawa-absolute hawa-w- hawa-top-0 hawa-left-0 hawa-opacity-0",
4537
4550
  sizeStyles[size],
4538
4551
  radiusStyles[radius],
4539
4552
  (!isUploadable || !!src) && "hawa-hidden"
@@ -4552,6 +4565,30 @@ var Avatar = ({
4552
4565
  src,
4553
4566
  alt
4554
4567
  }
4568
+ ),
4569
+ !src && !isUploadable && /* @__PURE__ */ import_react17.default.createElement(
4570
+ "div",
4571
+ {
4572
+ className: cn(
4573
+ sizeStyles[size],
4574
+ "hawa-justify-center hawa-items-center hawa-flex hawa-flex-col"
4575
+ )
4576
+ },
4577
+ /* @__PURE__ */ import_react17.default.createElement(
4578
+ "svg",
4579
+ {
4580
+ xmlns: "http://www.w3.org/2000/svg",
4581
+ style: { width: "50%", opacity: 0.35 },
4582
+ viewBox: "0 0 24 24",
4583
+ fill: "none",
4584
+ stroke: "currentColor",
4585
+ strokeWidth: "2",
4586
+ strokeLinecap: "round",
4587
+ strokeLinejoin: "round"
4588
+ },
4589
+ /* @__PURE__ */ import_react17.default.createElement("circle", { cx: "12", cy: "8", r: "5" }),
4590
+ /* @__PURE__ */ import_react17.default.createElement("path", { d: "M20 21a8 8 0 1 0-16 0" })
4591
+ )
4555
4592
  )
4556
4593
  );
4557
4594
  };
package/dist/index.mjs CHANGED
@@ -2787,19 +2787,29 @@ var Tooltip = ({
2787
2787
  defaultOpen,
2788
2788
  onOpenChange,
2789
2789
  triggerProps,
2790
+ contentProps,
2791
+ providerProps,
2790
2792
  delayDuration = 300,
2791
2793
  ...props
2792
2794
  }) => {
2793
- return /* @__PURE__ */ React13.createElement(TooltipPrimitive.TooltipProvider, { delayDuration }, /* @__PURE__ */ React13.createElement(
2794
- TooltipPrimitive.Root,
2795
+ return /* @__PURE__ */ React13.createElement(
2796
+ TooltipPrimitive.TooltipProvider,
2795
2797
  {
2796
- open,
2797
- defaultOpen,
2798
- onOpenChange
2798
+ delayDuration,
2799
+ ...providerProps
2799
2800
  },
2800
- /* @__PURE__ */ React13.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
2801
- /* @__PURE__ */ React13.createElement(TooltipContent, { side, align: "center", ...props }, content)
2802
- ));
2801
+ /* @__PURE__ */ React13.createElement(
2802
+ TooltipPrimitive.Root,
2803
+ {
2804
+ open,
2805
+ defaultOpen,
2806
+ onOpenChange,
2807
+ ...props
2808
+ },
2809
+ /* @__PURE__ */ React13.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
2810
+ /* @__PURE__ */ React13.createElement(TooltipContent, { side, align: "center", ...contentProps }, content)
2811
+ )
2812
+ );
2803
2813
  };
2804
2814
 
2805
2815
  // components/elements/Label.tsx
@@ -4283,14 +4293,17 @@ var Avatar = ({
4283
4293
  ...props
4284
4294
  }) => {
4285
4295
  let sizeStyles = {
4286
- xs: "hawa-h-4 hawa-w-4",
4296
+ "2xs": "hawa-h-4 hawa-w-4",
4297
+ xs: "hawa-h-6 hawa-w-6",
4287
4298
  sm: "hawa-h-8 hawa-w-8",
4288
- default: "hawa-h-12 hawa-w-12",
4289
- lg: "hawa-h-16 hawa-w-16",
4290
- xl: "hawa-h-20 hawa-w-20",
4291
- "2xl": "hawa-h-24 hawa-w-24",
4292
- "3xl": "hawa-h-28 hawa-w-28",
4293
- "4xl": "hawa-h-32 hawa-w-32"
4299
+ default: "hawa-h-10 hawa-w-10",
4300
+ lg: "hawa-h-12 hawa-w-12",
4301
+ xl: "hawa-h-14 hawa-w-14",
4302
+ "2xl": "hawa-h-16 hawa-w-16",
4303
+ "3xl": "hawa-h-[72px] hawa-w-[72px]",
4304
+ "4xl": "hawa-h-20 hawa-w-20",
4305
+ "5xl": "hawa-h-[88px] hawa-w-[88px]",
4306
+ "6xl": "hawa-h-24 hawa-w-24"
4294
4307
  };
4295
4308
  let radiusStyles = {
4296
4309
  full: "hawa-rounded-full",
@@ -4311,7 +4324,7 @@ var Avatar = ({
4311
4324
  FileUploader,
4312
4325
  {
4313
4326
  className: cn(
4314
- "hawa-bg-red-400 hawa-absolute hawa-top-0 hawa-left-0 hawa-opacity-0",
4327
+ "hawa-bg-red-400 hawa-absolute hawa-w- hawa-top-0 hawa-left-0 hawa-opacity-0",
4315
4328
  sizeStyles[size],
4316
4329
  radiusStyles[radius],
4317
4330
  (!isUploadable || !!src) && "hawa-hidden"
@@ -4330,6 +4343,30 @@ var Avatar = ({
4330
4343
  src,
4331
4344
  alt
4332
4345
  }
4346
+ ),
4347
+ !src && !isUploadable && /* @__PURE__ */ React30.createElement(
4348
+ "div",
4349
+ {
4350
+ className: cn(
4351
+ sizeStyles[size],
4352
+ "hawa-justify-center hawa-items-center hawa-flex hawa-flex-col"
4353
+ )
4354
+ },
4355
+ /* @__PURE__ */ React30.createElement(
4356
+ "svg",
4357
+ {
4358
+ xmlns: "http://www.w3.org/2000/svg",
4359
+ style: { width: "50%", opacity: 0.35 },
4360
+ viewBox: "0 0 24 24",
4361
+ fill: "none",
4362
+ stroke: "currentColor",
4363
+ strokeWidth: "2",
4364
+ strokeLinecap: "round",
4365
+ strokeLinejoin: "round"
4366
+ },
4367
+ /* @__PURE__ */ React30.createElement("circle", { cx: "12", cy: "8", r: "5" }),
4368
+ /* @__PURE__ */ React30.createElement("path", { d: "M20 21a8 8 0 1 0-16 0" })
4369
+ )
4333
4370
  )
4334
4371
  );
4335
4372
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.18.13-next",
3
+ "version": "0.18.15-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",