@sikka/hawa 0.18.14-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 +12 -6
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +35 -8
- package/dist/index.mjs +35 -8
- package/package.json +1 -1
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
|
}
|
|
@@ -1839,4 +1839,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1839
1839
|
handleTabChange: (index: any) => void;
|
|
1840
1840
|
};
|
|
1841
1841
|
|
|
1842
|
-
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
|
}
|
|
@@ -1839,4 +1839,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1839
1839
|
handleTabChange: (index: any) => void;
|
|
1840
1840
|
};
|
|
1841
1841
|
|
|
1842
|
-
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
|
@@ -4515,14 +4515,17 @@ var Avatar = ({
|
|
|
4515
4515
|
...props
|
|
4516
4516
|
}) => {
|
|
4517
4517
|
let sizeStyles = {
|
|
4518
|
-
|
|
4518
|
+
"2xs": "hawa-h-4 hawa-w-4",
|
|
4519
|
+
xs: "hawa-h-6 hawa-w-6",
|
|
4519
4520
|
sm: "hawa-h-8 hawa-w-8",
|
|
4520
|
-
default: "hawa-h-
|
|
4521
|
-
lg: "hawa-h-
|
|
4522
|
-
xl: "hawa-h-
|
|
4523
|
-
"2xl": "hawa-h-
|
|
4524
|
-
"3xl": "hawa-h-
|
|
4525
|
-
"4xl": "hawa-h-
|
|
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"
|
|
4526
4529
|
};
|
|
4527
4530
|
let radiusStyles = {
|
|
4528
4531
|
full: "hawa-rounded-full",
|
|
@@ -4543,7 +4546,7 @@ var Avatar = ({
|
|
|
4543
4546
|
FileUploader,
|
|
4544
4547
|
{
|
|
4545
4548
|
className: cn(
|
|
4546
|
-
"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",
|
|
4547
4550
|
sizeStyles[size],
|
|
4548
4551
|
radiusStyles[radius],
|
|
4549
4552
|
(!isUploadable || !!src) && "hawa-hidden"
|
|
@@ -4562,6 +4565,30 @@ var Avatar = ({
|
|
|
4562
4565
|
src,
|
|
4563
4566
|
alt
|
|
4564
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
|
+
)
|
|
4565
4592
|
)
|
|
4566
4593
|
);
|
|
4567
4594
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -4293,14 +4293,17 @@ var Avatar = ({
|
|
|
4293
4293
|
...props
|
|
4294
4294
|
}) => {
|
|
4295
4295
|
let sizeStyles = {
|
|
4296
|
-
|
|
4296
|
+
"2xs": "hawa-h-4 hawa-w-4",
|
|
4297
|
+
xs: "hawa-h-6 hawa-w-6",
|
|
4297
4298
|
sm: "hawa-h-8 hawa-w-8",
|
|
4298
|
-
default: "hawa-h-
|
|
4299
|
-
lg: "hawa-h-
|
|
4300
|
-
xl: "hawa-h-
|
|
4301
|
-
"2xl": "hawa-h-
|
|
4302
|
-
"3xl": "hawa-h-
|
|
4303
|
-
"4xl": "hawa-h-
|
|
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"
|
|
4304
4307
|
};
|
|
4305
4308
|
let radiusStyles = {
|
|
4306
4309
|
full: "hawa-rounded-full",
|
|
@@ -4321,7 +4324,7 @@ var Avatar = ({
|
|
|
4321
4324
|
FileUploader,
|
|
4322
4325
|
{
|
|
4323
4326
|
className: cn(
|
|
4324
|
-
"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",
|
|
4325
4328
|
sizeStyles[size],
|
|
4326
4329
|
radiusStyles[radius],
|
|
4327
4330
|
(!isUploadable || !!src) && "hawa-hidden"
|
|
@@ -4340,6 +4343,30 @@ var Avatar = ({
|
|
|
4340
4343
|
src,
|
|
4341
4344
|
alt
|
|
4342
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
|
+
)
|
|
4343
4370
|
)
|
|
4344
4371
|
);
|
|
4345
4372
|
};
|