pxengine 0.1.16 → 0.1.18

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.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React$1 from 'react';
3
- import React__default from 'react';
3
+ import React__default, { CSSProperties } from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as LabelPrimitive from '@radix-ui/react-label';
6
6
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
@@ -36,6 +36,8 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
36
36
  import { DayPicker } from 'react-day-picker';
37
37
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
38
38
  import { ClassValue } from 'clsx';
39
+ import * as Icons from 'lucide-react';
40
+ import { LucideIcon } from 'lucide-react';
39
41
 
40
42
  declare const buttonVariants: (props?: ({
41
43
  variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
@@ -580,6 +582,8 @@ interface ButtonAtomType extends BaseAtom {
580
582
  action?: string;
581
583
  disabled?: boolean;
582
584
  isLoading?: boolean;
585
+ icon?: IconName;
586
+ iconPosition?: "left" | "right";
583
587
  }
584
588
  interface InputAtomType extends BaseAtom {
585
589
  type: "input";
@@ -637,6 +641,13 @@ interface RadioGroupAtomType extends BaseAtom {
637
641
  defaultValue?: string;
638
642
  disabled?: boolean;
639
643
  }
644
+ interface RadioAtomType extends BaseAtom {
645
+ type: "radio";
646
+ label?: string;
647
+ value?: string;
648
+ checked?: boolean;
649
+ disabled?: boolean;
650
+ }
640
651
  interface DropdownMenuAtomType extends BaseAtom {
641
652
  type: "dropdown-menu";
642
653
  trigger: any;
@@ -653,6 +664,7 @@ interface TextAtomType extends BaseAtom {
653
664
  type: "text";
654
665
  content: string;
655
666
  variant: TextVariant;
667
+ backgroundColor?: string;
656
668
  }
657
669
  interface LayoutAtomType extends BaseAtom {
658
670
  type: "layout";
@@ -703,6 +715,24 @@ interface ScrollAreaAtomType extends BaseAtom {
703
715
  maxHeight?: string;
704
716
  children: any[];
705
717
  }
718
+ type IconName = {
719
+ [K in keyof typeof Icons]: typeof Icons[K] extends LucideIcon ? K : never;
720
+ }[keyof typeof Icons];
721
+ interface IconAtomType extends BaseAtom {
722
+ type: "icon";
723
+ icon: IconName;
724
+ size?: number;
725
+ color?: string;
726
+ strokeWidth?: number;
727
+ className?: string;
728
+ style?: CSSProperties;
729
+ }
730
+ interface ArrowToggleAtomType extends BaseAtom {
731
+ type: "arrow-toggle";
732
+ isExpanded?: boolean;
733
+ onToggle?: (isExpanded: boolean) => void;
734
+ size?: number | string;
735
+ }
706
736
  interface AvatarAtomType extends BaseAtom {
707
737
  type: "avatar";
708
738
  src?: string;
@@ -889,7 +919,7 @@ interface ChartAtomType extends BaseAtom {
889
919
  showLegend?: boolean;
890
920
  stacked?: boolean;
891
921
  }
892
- type UIAtom = ButtonAtomType | InputAtomType | ToggleAtomType | TextAtomType | LayoutAtomType | CardAtomType | TabsAtomType | AccordionAtomType | SeparatorAtomType | ScrollAreaAtomType | AspectRatioAtomType | CollapsibleAtomType | AvatarAtomType | BadgeAtomType | ProgressAtomType | TableAtomType | CarouselAtomType | AlertAtomType | TooltipAtomType | PopoverAtomType | DialogAtomType | SheetAtomType | AlertDialogAtomType | SkeletonAtomType | SpinnerAtomType | BreadcrumbAtomType | CalendarAtomType | PaginationAtomType | CommandAtomType | FormInputAtomType | FormSelectAtomType | FormTextareaAtomType | CheckboxAtomType | SwitchAtomType | LabelAtomType | SliderAtomType | RadioGroupAtomType | DropdownMenuAtomType | ContextMenuAtomType | DrawerAtomType | InputOTPAtomType | KbdAtomType | ResizableAtomType | RatingAtomType | TimelineAtomType | VideoAtomType | ChartAtomType;
922
+ type UIAtom = ButtonAtomType | InputAtomType | ToggleAtomType | TextAtomType | LayoutAtomType | CardAtomType | TabsAtomType | AccordionAtomType | SeparatorAtomType | ScrollAreaAtomType | AspectRatioAtomType | CollapsibleAtomType | AvatarAtomType | BadgeAtomType | ProgressAtomType | TableAtomType | CarouselAtomType | AlertAtomType | TooltipAtomType | PopoverAtomType | DialogAtomType | SheetAtomType | AlertDialogAtomType | SkeletonAtomType | SpinnerAtomType | BreadcrumbAtomType | CalendarAtomType | PaginationAtomType | CommandAtomType | FormInputAtomType | FormSelectAtomType | FormTextareaAtomType | CheckboxAtomType | SwitchAtomType | LabelAtomType | SliderAtomType | RadioGroupAtomType | RadioAtomType | DropdownMenuAtomType | ContextMenuAtomType | DrawerAtomType | InputOTPAtomType | KbdAtomType | ResizableAtomType | RatingAtomType | TimelineAtomType | VideoAtomType | ChartAtomType | IconAtomType | ArrowToggleAtomType;
893
923
 
894
924
  interface BaseMolecule extends BaseAtom {
895
925
  }
@@ -1297,6 +1327,15 @@ declare const RadioGroupAtom: React__default.FC<RadioGroupAtomType & {
1297
1327
  onValueChange?: (value: string) => void;
1298
1328
  }>;
1299
1329
 
1330
+ /**
1331
+ * RadioAtom
1332
+ * Wraps shadcn RadioGroupItem as a standalone radio button
1333
+ * Note: Still uses RadioGroup wrapper internally for compatibility
1334
+ */
1335
+ declare const RadioAtom: React__default.FC<RadioAtomType & {
1336
+ onValueChange?: (value: string) => void;
1337
+ }>;
1338
+
1300
1339
  /**
1301
1340
  * DropdownMenuAtom
1302
1341
  * Wraps shadcn DropdownMenu
@@ -1368,6 +1407,19 @@ declare const RatingAtom: React__default.FC<RatingAtomType & {
1368
1407
  */
1369
1408
  declare const TimelineAtom: React__default.FC<TimelineAtomType>;
1370
1409
 
1410
+ /**
1411
+ * IconAtom
1412
+ * Dynamically renders a Lucide React icon by name.
1413
+ */
1414
+ declare const IconAtom: React__default.FC<IconAtomType>;
1415
+
1416
+ /**
1417
+ * ArrowToggleAtom
1418
+ * A specialized button-like component that toggles between
1419
+ * Right and Down arrows when clicked.
1420
+ */
1421
+ declare const ArrowToggleAtom: React__default.FC<ArrowToggleAtomType>;
1422
+
1371
1423
  type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
1372
1424
  type ButtonSize = "default" | "sm" | "lg" | "icon";
1373
1425
  /**
@@ -1897,4 +1949,4 @@ declare const TopPostsGrid: React__default.FC<TopPostsGridMolecule>;
1897
1949
  */
1898
1950
  declare const CreatorActionHeader: React__default.FC<CreatorActionHeaderMolecule>;
1899
1951
 
1900
- export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorGridCard, type CreatorGridCardMolecule, CreatorProfileSummary, type CreatorProfileSummaryMolecule, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StatsGrid, type StatsGridMolecule, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, cn };
1952
+ export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorGridCard, type CreatorGridCardMolecule, CreatorProfileSummary, type CreatorProfileSummaryMolecule, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StatsGrid, type StatsGridMolecule, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, cn };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React$1 from 'react';
3
- import React__default from 'react';
3
+ import React__default, { CSSProperties } from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as LabelPrimitive from '@radix-ui/react-label';
6
6
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
@@ -36,6 +36,8 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
36
36
  import { DayPicker } from 'react-day-picker';
37
37
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
38
38
  import { ClassValue } from 'clsx';
39
+ import * as Icons from 'lucide-react';
40
+ import { LucideIcon } from 'lucide-react';
39
41
 
40
42
  declare const buttonVariants: (props?: ({
41
43
  variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
@@ -580,6 +582,8 @@ interface ButtonAtomType extends BaseAtom {
580
582
  action?: string;
581
583
  disabled?: boolean;
582
584
  isLoading?: boolean;
585
+ icon?: IconName;
586
+ iconPosition?: "left" | "right";
583
587
  }
584
588
  interface InputAtomType extends BaseAtom {
585
589
  type: "input";
@@ -637,6 +641,13 @@ interface RadioGroupAtomType extends BaseAtom {
637
641
  defaultValue?: string;
638
642
  disabled?: boolean;
639
643
  }
644
+ interface RadioAtomType extends BaseAtom {
645
+ type: "radio";
646
+ label?: string;
647
+ value?: string;
648
+ checked?: boolean;
649
+ disabled?: boolean;
650
+ }
640
651
  interface DropdownMenuAtomType extends BaseAtom {
641
652
  type: "dropdown-menu";
642
653
  trigger: any;
@@ -653,6 +664,7 @@ interface TextAtomType extends BaseAtom {
653
664
  type: "text";
654
665
  content: string;
655
666
  variant: TextVariant;
667
+ backgroundColor?: string;
656
668
  }
657
669
  interface LayoutAtomType extends BaseAtom {
658
670
  type: "layout";
@@ -703,6 +715,24 @@ interface ScrollAreaAtomType extends BaseAtom {
703
715
  maxHeight?: string;
704
716
  children: any[];
705
717
  }
718
+ type IconName = {
719
+ [K in keyof typeof Icons]: typeof Icons[K] extends LucideIcon ? K : never;
720
+ }[keyof typeof Icons];
721
+ interface IconAtomType extends BaseAtom {
722
+ type: "icon";
723
+ icon: IconName;
724
+ size?: number;
725
+ color?: string;
726
+ strokeWidth?: number;
727
+ className?: string;
728
+ style?: CSSProperties;
729
+ }
730
+ interface ArrowToggleAtomType extends BaseAtom {
731
+ type: "arrow-toggle";
732
+ isExpanded?: boolean;
733
+ onToggle?: (isExpanded: boolean) => void;
734
+ size?: number | string;
735
+ }
706
736
  interface AvatarAtomType extends BaseAtom {
707
737
  type: "avatar";
708
738
  src?: string;
@@ -889,7 +919,7 @@ interface ChartAtomType extends BaseAtom {
889
919
  showLegend?: boolean;
890
920
  stacked?: boolean;
891
921
  }
892
- type UIAtom = ButtonAtomType | InputAtomType | ToggleAtomType | TextAtomType | LayoutAtomType | CardAtomType | TabsAtomType | AccordionAtomType | SeparatorAtomType | ScrollAreaAtomType | AspectRatioAtomType | CollapsibleAtomType | AvatarAtomType | BadgeAtomType | ProgressAtomType | TableAtomType | CarouselAtomType | AlertAtomType | TooltipAtomType | PopoverAtomType | DialogAtomType | SheetAtomType | AlertDialogAtomType | SkeletonAtomType | SpinnerAtomType | BreadcrumbAtomType | CalendarAtomType | PaginationAtomType | CommandAtomType | FormInputAtomType | FormSelectAtomType | FormTextareaAtomType | CheckboxAtomType | SwitchAtomType | LabelAtomType | SliderAtomType | RadioGroupAtomType | DropdownMenuAtomType | ContextMenuAtomType | DrawerAtomType | InputOTPAtomType | KbdAtomType | ResizableAtomType | RatingAtomType | TimelineAtomType | VideoAtomType | ChartAtomType;
922
+ type UIAtom = ButtonAtomType | InputAtomType | ToggleAtomType | TextAtomType | LayoutAtomType | CardAtomType | TabsAtomType | AccordionAtomType | SeparatorAtomType | ScrollAreaAtomType | AspectRatioAtomType | CollapsibleAtomType | AvatarAtomType | BadgeAtomType | ProgressAtomType | TableAtomType | CarouselAtomType | AlertAtomType | TooltipAtomType | PopoverAtomType | DialogAtomType | SheetAtomType | AlertDialogAtomType | SkeletonAtomType | SpinnerAtomType | BreadcrumbAtomType | CalendarAtomType | PaginationAtomType | CommandAtomType | FormInputAtomType | FormSelectAtomType | FormTextareaAtomType | CheckboxAtomType | SwitchAtomType | LabelAtomType | SliderAtomType | RadioGroupAtomType | RadioAtomType | DropdownMenuAtomType | ContextMenuAtomType | DrawerAtomType | InputOTPAtomType | KbdAtomType | ResizableAtomType | RatingAtomType | TimelineAtomType | VideoAtomType | ChartAtomType | IconAtomType | ArrowToggleAtomType;
893
923
 
894
924
  interface BaseMolecule extends BaseAtom {
895
925
  }
@@ -1297,6 +1327,15 @@ declare const RadioGroupAtom: React__default.FC<RadioGroupAtomType & {
1297
1327
  onValueChange?: (value: string) => void;
1298
1328
  }>;
1299
1329
 
1330
+ /**
1331
+ * RadioAtom
1332
+ * Wraps shadcn RadioGroupItem as a standalone radio button
1333
+ * Note: Still uses RadioGroup wrapper internally for compatibility
1334
+ */
1335
+ declare const RadioAtom: React__default.FC<RadioAtomType & {
1336
+ onValueChange?: (value: string) => void;
1337
+ }>;
1338
+
1300
1339
  /**
1301
1340
  * DropdownMenuAtom
1302
1341
  * Wraps shadcn DropdownMenu
@@ -1368,6 +1407,19 @@ declare const RatingAtom: React__default.FC<RatingAtomType & {
1368
1407
  */
1369
1408
  declare const TimelineAtom: React__default.FC<TimelineAtomType>;
1370
1409
 
1410
+ /**
1411
+ * IconAtom
1412
+ * Dynamically renders a Lucide React icon by name.
1413
+ */
1414
+ declare const IconAtom: React__default.FC<IconAtomType>;
1415
+
1416
+ /**
1417
+ * ArrowToggleAtom
1418
+ * A specialized button-like component that toggles between
1419
+ * Right and Down arrows when clicked.
1420
+ */
1421
+ declare const ArrowToggleAtom: React__default.FC<ArrowToggleAtomType>;
1422
+
1371
1423
  type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
1372
1424
  type ButtonSize = "default" | "sm" | "lg" | "icon";
1373
1425
  /**
@@ -1897,4 +1949,4 @@ declare const TopPostsGrid: React__default.FC<TopPostsGridMolecule>;
1897
1949
  */
1898
1950
  declare const CreatorActionHeader: React__default.FC<CreatorActionHeaderMolecule>;
1899
1951
 
1900
- export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorGridCard, type CreatorGridCardMolecule, CreatorProfileSummary, type CreatorProfileSummaryMolecule, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StatsGrid, type StatsGridMolecule, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, cn };
1952
+ export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorGridCard, type CreatorGridCardMolecule, CreatorProfileSummary, type CreatorProfileSummaryMolecule, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StatsGrid, type StatsGridMolecule, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, cn };