@placesapp/appy-ui 0.0.3 → 0.0.33

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.d.ts CHANGED
@@ -404,7 +404,19 @@ declare function HoverCardContent({ className, side, sideOffset, align, alignOff
404
404
  declare function Input({ className, type, ...props }: React$1.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
405
405
 
406
406
  declare function InputGroup({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
407
+ declare const inputGroupAddonVariants: (props?: ({
408
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
409
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
410
+ declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
411
+ declare const inputGroupButtonVariants: (props?: ({
412
+ size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
413
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
414
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, 'size' | 'type'> & VariantProps<typeof inputGroupButtonVariants> & {
415
+ type?: 'button' | 'submit' | 'reset';
416
+ }): react_jsx_runtime.JSX.Element;
417
+ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
407
418
  declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
419
+ declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<'textarea'>): react_jsx_runtime.JSX.Element;
408
420
 
409
421
  declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
410
422
  containerClassName?: string;
@@ -434,6 +446,7 @@ declare function ItemHeader({ className, ...props }: React$1.ComponentProps<'div
434
446
  declare function ItemFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
435
447
 
436
448
  declare function Kbd({ className, ...props }: React.ComponentProps<'kbd'>): react_jsx_runtime.JSX.Element;
449
+ declare function KbdGroup({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
437
450
 
438
451
  declare function Menubar({ className, ...props }: Menubar$1.Props): react_jsx_runtime.JSX.Element;
439
452
  declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu>): react_jsx_runtime.JSX.Element;
@@ -458,6 +471,8 @@ type NativeSelectProps = Omit<React$1.ComponentProps<'select'>, 'size'> & {
458
471
  size?: 'sm' | 'default';
459
472
  };
460
473
  declare function NativeSelect({ className, size, ...props }: NativeSelectProps): react_jsx_runtime.JSX.Element;
474
+ declare function NativeSelectOption({ ...props }: React$1.ComponentProps<'option'>): react_jsx_runtime.JSX.Element;
475
+ declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<'optgroup'>): react_jsx_runtime.JSX.Element;
461
476
 
462
477
  declare function NavigationMenu({ className, children, ...props }: NavigationMenu$1.Root.Props): react_jsx_runtime.JSX.Element;
463
478
  declare function NavigationMenuList({ className, ...props }: React.ComponentPropsWithRef<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
@@ -488,6 +503,10 @@ declare function PopoverTitle({ className, ...props }: Popover$1.Title.Props): r
488
503
  declare function PopoverDescription({ className, ...props }: Popover$1.Description.Props): react_jsx_runtime.JSX.Element;
489
504
 
490
505
  declare function Progress({ className, children, value, ...props }: Progress$1.Root.Props): react_jsx_runtime.JSX.Element;
506
+ declare function ProgressTrack({ className, ...props }: Progress$1.Track.Props): react_jsx_runtime.JSX.Element;
507
+ declare function ProgressIndicator({ className, ...props }: Progress$1.Indicator.Props): react_jsx_runtime.JSX.Element;
508
+ declare function ProgressLabel({ className, ...props }: Progress$1.Label.Props): react_jsx_runtime.JSX.Element;
509
+ declare function ProgressValue({ className, ...props }: Progress$1.Value.Props): react_jsx_runtime.JSX.Element;
491
510
 
492
511
  type ProgressiveBlurProps = {
493
512
  className?: string;
@@ -781,4 +800,4 @@ declare function useIsMobile(): boolean;
781
800
 
782
801
  declare function cn(...inputs: ClassValue[]): string;
783
802
 
784
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AndroidTabBar, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type DesignSystem, DesignSystemProvider, type DeviceContext, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FormFactor, Header, HoverCard, HoverCardContent, HoverCardTrigger, IOSTabBar, Input, InputGroup, InputGroupInput, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, Label, type LinkComponent, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, type NavLinkProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Platform, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressiveBlur, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SecondaryPageHeader, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, TabBar, type TabItem, TabPageHeader, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WebFooter, WebNavBar, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useCarousel, useComboboxAnchor, useDesignSystem, useDeviceContext, useHeaderContext, useIsMobile, useScrolled, useSidebar };
803
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AndroidTabBar, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type DesignSystem, DesignSystemProvider, type DeviceContext, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FormFactor, Header, HoverCard, HoverCardContent, HoverCardTrigger, IOSTabBar, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, type LinkComponent, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, type NavLinkProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Platform, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, ProgressiveBlur, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SecondaryPageHeader, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, TabBar, type TabItem, TabPageHeader, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WebFooter, WebNavBar, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useCarousel, useComboboxAnchor, useDesignSystem, useDeviceContext, useHeaderContext, useIsMobile, useScrolled, useSidebar };
package/dist/index.js CHANGED
@@ -1843,6 +1843,18 @@ function InputGroupButton({
1843
1843
  }
1844
1844
  );
1845
1845
  }
1846
+ function InputGroupText({ className, ...props }) {
1847
+ return /* @__PURE__ */ jsx(
1848
+ "span",
1849
+ {
1850
+ className: cn(
1851
+ "flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
1852
+ className
1853
+ ),
1854
+ ...props
1855
+ }
1856
+ );
1857
+ }
1846
1858
  function InputGroupInput({
1847
1859
  className,
1848
1860
  ...props
@@ -1859,6 +1871,22 @@ function InputGroupInput({
1859
1871
  }
1860
1872
  );
1861
1873
  }
1874
+ function InputGroupTextarea({
1875
+ className,
1876
+ ...props
1877
+ }) {
1878
+ return /* @__PURE__ */ jsx(
1879
+ Textarea,
1880
+ {
1881
+ "data-slot": "input-group-control",
1882
+ className: cn(
1883
+ "flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent",
1884
+ className
1885
+ ),
1886
+ ...props
1887
+ }
1888
+ );
1889
+ }
1862
1890
  var Combobox = Combobox$1.Root;
1863
1891
  function ComboboxValue({ ...props }) {
1864
1892
  return /* @__PURE__ */ jsx(Combobox$1.Value, { "data-slot": "combobox-value", ...props });
@@ -3539,6 +3567,16 @@ function Kbd({ className, ...props }) {
3539
3567
  }
3540
3568
  );
3541
3569
  }
3570
+ function KbdGroup({ className, ...props }) {
3571
+ return /* @__PURE__ */ jsx(
3572
+ "kbd",
3573
+ {
3574
+ "data-slot": "kbd-group",
3575
+ className: cn("inline-flex items-center gap-1", className),
3576
+ ...props
3577
+ }
3578
+ );
3579
+ }
3542
3580
  function Menubar({ className, ...props }) {
3543
3581
  return /* @__PURE__ */ jsx(
3544
3582
  Menubar$1,
@@ -3794,6 +3832,22 @@ function NativeSelect({
3794
3832
  }
3795
3833
  );
3796
3834
  }
3835
+ function NativeSelectOption({ ...props }) {
3836
+ return /* @__PURE__ */ jsx("option", { "data-slot": "native-select-option", ...props });
3837
+ }
3838
+ function NativeSelectOptGroup({
3839
+ className,
3840
+ ...props
3841
+ }) {
3842
+ return /* @__PURE__ */ jsx(
3843
+ "optgroup",
3844
+ {
3845
+ "data-slot": "native-select-optgroup",
3846
+ className: cn(className),
3847
+ ...props
3848
+ }
3849
+ );
3850
+ }
3797
3851
  function NavigationMenu({
3798
3852
  className,
3799
3853
  children,
@@ -4170,6 +4224,29 @@ function ProgressIndicator({
4170
4224
  }
4171
4225
  );
4172
4226
  }
4227
+ function ProgressLabel({ className, ...props }) {
4228
+ return /* @__PURE__ */ jsx(
4229
+ Progress$1.Label,
4230
+ {
4231
+ className: cn("text-sm font-medium", className),
4232
+ "data-slot": "progress-label",
4233
+ ...props
4234
+ }
4235
+ );
4236
+ }
4237
+ function ProgressValue({ className, ...props }) {
4238
+ return /* @__PURE__ */ jsx(
4239
+ Progress$1.Value,
4240
+ {
4241
+ className: cn(
4242
+ "ml-auto text-sm text-muted-foreground tabular-nums",
4243
+ className
4244
+ ),
4245
+ "data-slot": "progress-value",
4246
+ ...props
4247
+ }
4248
+ );
4249
+ }
4173
4250
  function ProgressiveBlur({
4174
4251
  className = "",
4175
4252
  backgroundColor,
@@ -6102,4 +6179,4 @@ function WebFooter({
6102
6179
  );
6103
6180
  }
6104
6181
 
6105
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AndroidTabBar, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DesignSystemProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Header, HoverCard, HoverCardContent, HoverCardTrigger, IOSTabBar, Input, InputGroup, InputGroupInput, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressiveBlur, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SecondaryPageHeader, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, TabBar, TabPageHeader, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WebFooter, WebNavBar, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useCarousel, useComboboxAnchor, useDesignSystem, useDeviceContext, useHeaderContext, useIsMobile, useScrolled, useSidebar };
6182
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AndroidTabBar, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DesignSystemProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Header, HoverCard, HoverCardContent, HoverCardTrigger, IOSTabBar, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, ProgressiveBlur, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SecondaryPageHeader, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, TabBar, TabPageHeader, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WebFooter, WebNavBar, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useCarousel, useComboboxAnchor, useDesignSystem, useDeviceContext, useHeaderContext, useIsMobile, useScrolled, useSidebar };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@placesapp/appy-ui",
3
- "version": "0.0.3",
3
+ "version": "0.0.33",
4
4
  "type": "module",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -8,10 +8,12 @@
8
8
  ".": {
9
9
  "types": "./dist/index.d.ts",
10
10
  "import": "./dist/index.js"
11
- }
11
+ },
12
+ "./globals.css": "./src/styles/globals.css"
12
13
  },
13
14
  "files": [
14
- "dist"
15
+ "dist",
16
+ "src/styles/globals.css"
15
17
  ],
16
18
  "sideEffects": false,
17
19
  "peerDependencies": {
@@ -0,0 +1,262 @@
1
+ @custom-variant dark (&:is(.dark *));
2
+ @custom-variant ios (&:is(.ios *));
3
+ @custom-variant material (&:is(.material *));
4
+
5
+ @theme inline {
6
+ --font-sans: 'Inter Variable', sans-serif;
7
+ --color-sidebar-ring: var(--sidebar-ring);
8
+ --color-sidebar-border: var(--sidebar-border);
9
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
10
+ --color-sidebar-accent: var(--sidebar-accent);
11
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
12
+ --color-sidebar-primary: var(--sidebar-primary);
13
+ --color-sidebar-foreground: var(--sidebar-foreground);
14
+ --color-sidebar: var(--sidebar);
15
+ --color-chart-5: var(--chart-5);
16
+ --color-chart-4: var(--chart-4);
17
+ --color-chart-3: var(--chart-3);
18
+ --color-chart-2: var(--chart-2);
19
+ --color-chart-1: var(--chart-1);
20
+ --color-ring: var(--ring);
21
+ --color-input: var(--input);
22
+ --color-border: var(--border);
23
+ --color-destructive: var(--destructive);
24
+ --color-accent-foreground: var(--accent-foreground);
25
+ --color-accent: var(--accent);
26
+ --color-muted-foreground: var(--muted-foreground);
27
+ --color-muted: var(--muted);
28
+ --color-secondary-foreground: var(--secondary-foreground);
29
+ --color-secondary: var(--secondary);
30
+ --color-primary-foreground: var(--primary-foreground);
31
+ --color-primary: var(--primary);
32
+ --color-popover-foreground: var(--popover-foreground);
33
+ --color-popover: var(--popover);
34
+ --color-card-foreground: var(--card-foreground);
35
+ --color-card: var(--card);
36
+ --color-foreground: var(--foreground);
37
+ --color-background: var(--background);
38
+ --radius-sm: calc(var(--radius) - 4px);
39
+ --radius-md: calc(var(--radius) - 2px);
40
+ --radius-lg: var(--radius);
41
+ --radius-xl: calc(var(--radius) + 4px);
42
+ --radius-2xl: calc(var(--radius) + 8px);
43
+ --radius-3xl: calc(var(--radius) + 12px);
44
+ --radius-4xl: calc(var(--radius) + 16px);
45
+ }
46
+
47
+ :root {
48
+ --background: oklch(0.99 0.002 75);
49
+ --foreground: oklch(0.15 0.01 75);
50
+ --card: oklch(1 0 0);
51
+ --card-foreground: oklch(0.145 0 0);
52
+ --popover: oklch(1 0 0);
53
+ --popover-foreground: oklch(0.145 0 0);
54
+ --primary: oklch(0.65 0.18 45);
55
+ --primary-foreground: oklch(0.99 0.002 75);
56
+ --secondary: oklch(0.97 0 0);
57
+ --secondary-foreground: oklch(0.205 0 0);
58
+ --muted: oklch(0.97 0 0);
59
+ --muted-foreground: oklch(0.556 0 0);
60
+ --accent: oklch(0.65 0.18 45);
61
+ --accent-foreground: oklch(0.99 0.002 75);
62
+ --destructive: oklch(0.58 0.22 27);
63
+ --border: oklch(0.922 0 0);
64
+ --input: oklch(0.922 0 0);
65
+ --ring: oklch(0.65 0.18 45);
66
+ --chart-1: oklch(0.809 0.105 251.813);
67
+ --chart-2: oklch(0.623 0.214 259.815);
68
+ --chart-3: oklch(0.546 0.245 262.881);
69
+ --chart-4: oklch(0.488 0.243 264.376);
70
+ --chart-5: oklch(0.424 0.199 265.638);
71
+ --radius: 0.875rem;
72
+ --sidebar: oklch(0.985 0 0);
73
+ --sidebar-foreground: oklch(0.145 0 0);
74
+ --sidebar-primary: oklch(0.205 0 0);
75
+ --sidebar-primary-foreground: oklch(0.985 0 0);
76
+ --sidebar-accent: oklch(0.97 0 0);
77
+ --sidebar-accent-foreground: oklch(0.205 0 0);
78
+ --sidebar-border: oklch(0.922 0 0);
79
+ --sidebar-ring: oklch(0.708 0 0);
80
+ }
81
+
82
+ .dark {
83
+ --background: oklch(0.14 0.01 260);
84
+ --foreground: oklch(0.92 0.01 75);
85
+ --card: oklch(0.18 0.01 260);
86
+ --card-foreground: oklch(0.92 0.01 75);
87
+ --popover: oklch(0.18 0.01 260);
88
+ --popover-foreground: oklch(0.92 0.01 75);
89
+ --primary: oklch(0.72 0.18 45);
90
+ --primary-foreground: oklch(0.14 0.01 260);
91
+ --secondary: oklch(0.22 0.01 260);
92
+ --secondary-foreground: oklch(0.92 0.01 75);
93
+ --muted: oklch(0.22 0.01 260);
94
+ --muted-foreground: oklch(0.65 0.01 75);
95
+ --accent: oklch(0.72 0.18 45);
96
+ --accent-foreground: oklch(0.14 0.01 260);
97
+ --destructive: oklch(0.704 0.191 22.216);
98
+ --border: oklch(1 0 0 / 10%);
99
+ --input: oklch(1 0 0 / 15%);
100
+ --ring: oklch(0.72 0.18 45);
101
+ --chart-1: oklch(0.809 0.105 251.813);
102
+ --chart-2: oklch(0.623 0.214 259.815);
103
+ --chart-3: oklch(0.546 0.245 262.881);
104
+ --chart-4: oklch(0.488 0.243 264.376);
105
+ --chart-5: oklch(0.424 0.199 265.638);
106
+ --sidebar: oklch(0.18 0.01 260);
107
+ --sidebar-foreground: oklch(0.92 0.01 75);
108
+ --sidebar-primary: oklch(0.72 0.18 45);
109
+ --sidebar-primary-foreground: oklch(0.14 0.01 260);
110
+ --sidebar-accent: oklch(0.22 0.01 260);
111
+ --sidebar-accent-foreground: oklch(0.92 0.01 75);
112
+ --sidebar-border: oklch(1 0 0 / 10%);
113
+ --sidebar-ring: oklch(0.72 0.18 45);
114
+ }
115
+
116
+ .ios {
117
+ --glass-blur: 20px;
118
+ --glass-bg: oklch(1 0 0 / 60%);
119
+ --glass-bg-elevated: oklch(1 0 0 / 70%);
120
+ --glass-border: oklch(1 0 0 / 30%);
121
+
122
+ --ios-blue: oklch(0.65 0.22 255);
123
+ --ios-green: oklch(0.7 0.2 145);
124
+ --ios-red: oklch(0.6 0.25 25);
125
+ --ios-orange: oklch(0.7 0.2 55);
126
+ --ios-yellow: oklch(0.85 0.18 90);
127
+ --ios-teal: oklch(0.7 0.15 195);
128
+ --ios-purple: oklch(0.6 0.2 300);
129
+
130
+ --font-sans:
131
+ -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
132
+ 'Helvetica Neue', sans-serif;
133
+
134
+ --radius: 1.25rem;
135
+
136
+ --elevation-1: none;
137
+ --elevation-2: none;
138
+ --elevation-3: none;
139
+
140
+ --press-scale: 0.97;
141
+ --press-duration: 100ms;
142
+
143
+ --separator: oklch(0 0 0 / 8%);
144
+ }
145
+
146
+ .ios.dark {
147
+ --glass-bg: oklch(0.2 0.02 260 / 60%);
148
+ --glass-bg-elevated: oklch(0.25 0.02 260 / 70%);
149
+ --glass-border: oklch(1 0 0 / 15%);
150
+ --separator: oklch(1 0 0 / 8%);
151
+ }
152
+
153
+ @supports (backdrop-filter: blur(1px)) {
154
+ .ios {
155
+ --glass-supported: 1;
156
+ }
157
+ }
158
+
159
+ @supports not (backdrop-filter: blur(1px)) {
160
+ .ios {
161
+ --glass-blur: 0;
162
+ --glass-bg: oklch(1 0 0 / 92%);
163
+ --glass-bg-elevated: oklch(1 0 0 / 95%);
164
+ }
165
+
166
+ .ios.dark {
167
+ --glass-bg: oklch(0.18 0.02 260 / 95%);
168
+ --glass-bg-elevated: oklch(0.22 0.02 260 / 95%);
169
+ }
170
+ }
171
+
172
+ .material {
173
+ --glass-blur: 0;
174
+ --glass-bg: var(--card);
175
+ --glass-bg-elevated: var(--card);
176
+ --glass-border: transparent;
177
+
178
+ --m3-surface: oklch(0.99 0.002 75);
179
+ --m3-surface-container: oklch(0.96 0.003 75);
180
+ --m3-surface-container-high: oklch(0.94 0.004 75);
181
+ --m3-surface-container-highest: oklch(0.92 0.005 75);
182
+ --m3-on-surface: oklch(0.15 0.01 75);
183
+
184
+ --m3-state-hover: oklch(0 0 0 / 8%);
185
+ --m3-state-focus: oklch(0 0 0 / 12%);
186
+ --m3-state-pressed: oklch(0 0 0 / 12%);
187
+ --m3-state-dragged: oklch(0 0 0 / 16%);
188
+
189
+ --font-sans: 'Roboto', 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
190
+
191
+ --radius: 0.75rem;
192
+ --radius-xs: 0.25rem;
193
+ --radius-sm: 0.5rem;
194
+ --radius-md: 0.75rem;
195
+ --radius-lg: 1rem;
196
+ --radius-xl: 1.75rem;
197
+ --radius-full: 9999px;
198
+
199
+ --elevation-1: 0 1px 2px oklch(0 0 0 / 30%), 0 1px 3px 1px oklch(0 0 0 / 15%);
200
+ --elevation-2: 0 1px 2px oklch(0 0 0 / 30%), 0 2px 6px 2px oklch(0 0 0 / 15%);
201
+ --elevation-3: 0 1px 3px oklch(0 0 0 / 30%), 0 4px 8px 3px oklch(0 0 0 / 15%);
202
+
203
+ --press-scale: 1;
204
+ --press-duration: 0ms;
205
+ --ripple-duration: 300ms;
206
+
207
+ --separator: oklch(0 0 0 / 12%);
208
+ }
209
+
210
+ .material.dark {
211
+ --m3-surface: oklch(0.14 0.01 260);
212
+ --m3-surface-container: oklch(0.18 0.01 260);
213
+ --m3-surface-container-high: oklch(0.22 0.01 260);
214
+ --m3-surface-container-highest: oklch(0.26 0.01 260);
215
+ --m3-on-surface: oklch(0.92 0.01 75);
216
+
217
+ --m3-state-hover: oklch(1 0 0 / 8%);
218
+ --m3-state-focus: oklch(1 0 0 / 12%);
219
+ --m3-state-pressed: oklch(1 0 0 / 12%);
220
+ --m3-state-dragged: oklch(1 0 0 / 16%);
221
+
222
+ --elevation-1: 0 1px 3px 1px oklch(0 0 0 / 26%), 0 1px 2px oklch(0 0 0 / 30%);
223
+ --elevation-2: 0 2px 6px 2px oklch(0 0 0 / 26%), 0 1px 2px oklch(0 0 0 / 30%);
224
+ --elevation-3: 0 4px 8px 3px oklch(0 0 0 / 26%), 0 1px 3px oklch(0 0 0 / 30%);
225
+
226
+ --separator: oklch(1 0 0 / 12%);
227
+ }
228
+
229
+ @layer base {
230
+ * {
231
+ @apply border-border outline-ring/50;
232
+ }
233
+ body {
234
+ @apply relative bg-background font-sans text-foreground;
235
+ }
236
+ html {
237
+ @apply scroll-smooth font-sans select-none;
238
+ padding: env(safe-area-inset-top) env(safe-area-inset-right)
239
+ env(safe-area-inset-bottom) env(safe-area-inset-left);
240
+ background-color: var(--background);
241
+ }
242
+
243
+ button:not(:disabled),
244
+ [role='button']:not(:disabled) {
245
+ cursor: pointer;
246
+ }
247
+ }
248
+
249
+ .ios [data-slot='card'] {
250
+ box-shadow: 0 0 8px oklch(0 0 0 / 8%);
251
+ border: none;
252
+ }
253
+
254
+ .material [data-slot='card'] {
255
+ box-shadow: var(--elevation-1);
256
+ border: none;
257
+ }
258
+
259
+ .ios [data-slot='dialog-content'],
260
+ .ios [data-slot='sheet-content'] {
261
+ will-change: transform, opacity;
262
+ }