@me1a/ui 2.0.8 → 2.0.10

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.mts CHANGED
@@ -63,6 +63,8 @@ declare const buttonVariants: (props?: ({
63
63
  * Built on top of Radix UI's Slot primitive for maximum flexibility.
64
64
  * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
65
65
  *
66
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-button--docs
67
+ *
66
68
  * @component
67
69
  * @example
68
70
  * ```tsx
@@ -130,6 +132,8 @@ declare const textFieldVariants: (props?: ({
130
132
  * A versatile text field component that supports multiple variants, sizes, and icons.
131
133
  * Built on top of shadcn/ui's Input component.
132
134
  *
135
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-text-field--docs
136
+ *
133
137
  * @component
134
138
  * @example
135
139
  * ```tsx
@@ -184,6 +188,8 @@ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & Reac
184
188
  * It's a polymorphic component that can render as different HTML elements while maintaining
185
189
  * consistent styling and behavior.
186
190
  *
191
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-box--docs
192
+ *
187
193
  * @example
188
194
  * ```tsx
189
195
  * // Basic usage
@@ -229,6 +235,8 @@ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttri
229
235
  * with consistent spacing between items. It's built on top of Flexbox and provides
230
236
  * a simple way to create consistent layouts.
231
237
  *
238
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-stack--docs
239
+ *
232
240
  * @example
233
241
  * ```tsx
234
242
  * // Basic vertical stack
@@ -340,6 +348,19 @@ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
340
348
  }
341
349
  declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
342
350
 
351
+ /**
352
+ * Dialog component for creating accessible dialogs with overlay and content.
353
+ * Built on top of Radix UI's Dialog primitive.
354
+ *
355
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-dialog--docs
356
+ *
357
+ * @example
358
+ * ```tsx
359
+ * <Dialog>
360
+ * <DialogTrigger>Open Dialog</DialogTrigger>
361
+ * <DialogContent>Dialog Content</DialogContent>
362
+ * </Dialog>
363
+ */
343
364
  declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
344
365
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
345
366
  declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
@@ -357,10 +378,37 @@ declare const DialogFooter: {
357
378
  declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
358
379
  declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
359
380
 
381
+ /**
382
+ * Input component for creating accessible input fields.
383
+ * Built on top of shadcn/ui's Input component.
384
+ *
385
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-input--docs
386
+ *
387
+ */
360
388
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
361
389
 
390
+ /**
391
+ * Separator component for creating horizontal or vertical dividers.
392
+ * Built on top of Radix UI's Separator primitive.
393
+ *
394
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-separator--docs
395
+ *
396
+ */
362
397
  declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
363
398
 
399
+ /**
400
+ * Sheet component for creating accessible sheets with overlay and content.
401
+ * Built on top of Radix UI's Sheet primitive.
402
+ *
403
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-sheet--docs
404
+ *
405
+ * @example
406
+ * ```tsx
407
+ * <Sheet>
408
+ * <SheetTrigger>Open Sheet</SheetTrigger>
409
+ * <SheetContent>Sheet Content</SheetContent>
410
+ * </Sheet>
411
+ */
364
412
  declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
365
413
  declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
366
414
  declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -383,6 +431,17 @@ declare const SheetFooter: {
383
431
  declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
384
432
  declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
385
433
 
434
+ /**
435
+ * Skeleton component for creating a loading state.
436
+ * Built on top of shadcn/ui's Skeleton component.
437
+ *
438
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-skeleton--docs
439
+ *
440
+ * @example
441
+ * ```tsx
442
+ * <Skeleton className="w-10 h-10" />
443
+ * ```
444
+ */
386
445
  declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
387
446
 
388
447
  /**
@@ -415,6 +474,22 @@ type AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;
415
474
  type AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;
416
475
  type AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;
417
476
 
477
+ /**
478
+ * TooltipProvider component for creating accessible tooltips.
479
+ * Built on top of Radix UI's Tooltip primitive.
480
+ *
481
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-tooltip--docs
482
+ *
483
+ * @example
484
+ * ```tsx
485
+ * <TooltipProvider>
486
+ * <Tooltip>
487
+ * <TooltipTrigger>Hover me</TooltipTrigger>
488
+ * <TooltipContent>Tooltip content</TooltipContent>
489
+ * </Tooltip>
490
+ * </TooltipProvider>
491
+ * ```
492
+ */
418
493
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
419
494
  declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
420
495
  declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -444,6 +519,8 @@ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<
444
519
  * Badge component for displaying status, counts, or labels.
445
520
  * Supports various variants, sizes, and optional icons.
446
521
  *
522
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-badge--docs
523
+ *
447
524
  * @example
448
525
  * ```tsx
449
526
  * <Badge variant="success">Active</Badge>
@@ -539,7 +616,19 @@ interface FormProviderProps {
539
616
 
540
617
  /**
541
618
  * Form component that provides form context to all child components.
542
- * Built on top of react-hook-form's FormProvider.
619
+ * Built on top of react-hook-form's useFormContext.
620
+ *
621
+ * @url https://segiimelnykov.github.io/ui/?path=/docs-atoms-form--docs
622
+ *
623
+ * @example
624
+ * ```tsx
625
+ * <Form>
626
+ * <FormField>
627
+ * <FormItem>
628
+ * <FormLabel>Name</FormLabel>
629
+ * </FormItem>
630
+ * </FormField>
631
+ * </Form>
543
632
  */
544
633
  declare const Form: ({ children, methods, onSubmit }: FormProviderProps) => react_jsx_runtime.JSX.Element;
545
634
  /**
@@ -591,6 +680,13 @@ declare const typographyVariants: (props?: ({
591
680
  interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
592
681
  as?: React$1.ElementType;
593
682
  }
683
+ /**
684
+ * Typography component for creating accessible text elements.
685
+ * Built on top of shadcn/ui's Typography component.
686
+ *
687
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-typography--docs
688
+ *
689
+ */
594
690
  declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
595
691
 
596
692
  type TypographyVariant = NonNullable<VariantProps<typeof typographyVariants>["variant"]>;
@@ -614,6 +710,12 @@ interface PageLoaderProps$1 {
614
710
  */
615
711
  color?: "primary" | "secondary" | "accent" | "muted" | "destructive" | string;
616
712
  }
713
+ /**
714
+ * PageLoader component for displaying a loading indicator.
715
+ *
716
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-page-loader--docs
717
+ *
718
+ */
617
719
  declare function PageLoader({ className, size, text, color }: PageLoaderProps$1): react_jsx_runtime.JSX.Element;
618
720
 
619
721
  interface PageLoaderProps {
@@ -639,6 +741,8 @@ interface PageLoaderProps {
639
741
  * Card is a flexible container component that can be used to group related content and actions.
640
742
  * It provides a consistent visual style with a subtle border, shadow, and rounded corners.
641
743
  *
744
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-card--docs
745
+ *
642
746
  * @example
643
747
  * ```tsx
644
748
  * // Basic card
@@ -763,6 +867,8 @@ interface NavigationMenuIndicatorProps extends React.ComponentPropsWithoutRef<ty
763
867
  * NavigationMenu component for creating accessible navigation menus with dropdowns.
764
868
  * Built on top of Radix UI's NavigationMenu primitive.
765
869
  *
870
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs
871
+ *
766
872
  * @example
767
873
  * ```tsx
768
874
  * <NavigationMenu>
@@ -826,6 +932,8 @@ interface RHFTextFieldProps<TFieldValues extends FieldValues = FieldValues, TNam
826
932
  * A text field component that integrates with React Hook Form.
827
933
  * Provides form validation, error handling, and accessibility features.
828
934
  *
935
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-rhf-text-field--docs
936
+ *
829
937
  * @example
830
938
  * ```tsx
831
939
  * <RHFTextField
@@ -916,6 +1024,31 @@ declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.Cl
916
1024
  open?: boolean;
917
1025
  onOpenChange?: (open: boolean) => void;
918
1026
  }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1027
+ /**
1028
+ * A flexible sidebar component that supports various layouts and configurations.
1029
+ * The sidebar can be positioned on either side of the screen and supports different
1030
+ * visual styles and collapse behaviors.
1031
+ *
1032
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
1033
+ *
1034
+ * @example
1035
+ * ```tsx
1036
+ * <Sidebar>
1037
+ * <SidebarHeader>
1038
+ * <SidebarTitle>Dashboard</SidebarTitle>
1039
+ * </SidebarHeader>
1040
+ * <SidebarContent>
1041
+ * <SidebarMenu>
1042
+ * <SidebarMenuItem icon={<HomeIcon />}>Home</SidebarMenuItem>
1043
+ * <SidebarMenuItem icon={<SettingsIcon />}>Settings</SidebarMenuItem>
1044
+ * </SidebarMenu>
1045
+ * </SidebarContent>
1046
+ * <SidebarFooter>
1047
+ * <SidebarTrigger />
1048
+ * </SidebarFooter>
1049
+ * </Sidebar>
1050
+ * ```
1051
+ */
919
1052
  declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
920
1053
  side?: "left" | "right";
921
1054
  variant?: "sidebar" | "floating" | "inset";
@@ -1010,6 +1143,24 @@ type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
1010
1143
  asChild?: boolean;
1011
1144
  };
1012
1145
 
1146
+ /**
1147
+ * DropdownMenu component for creating accessible dropdown menus.
1148
+ * Built on top of Radix UI's DropdownMenu primitive.
1149
+ *
1150
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/organisms-dropdown-menu--docs
1151
+ *
1152
+ * @example
1153
+ * ```tsx
1154
+ * <DropdownMenu>
1155
+ * <DropdownMenuTrigger>Open Menu</DropdownMenuTrigger>
1156
+ * <DropdownMenuContent>
1157
+ * <DropdownMenuItem>Item 1</DropdownMenuItem>
1158
+ * <DropdownMenuItem>Item 2</DropdownMenuItem>
1159
+ * <DropdownMenuItem>Item 3</DropdownMenuItem>
1160
+ * </DropdownMenuContent>
1161
+ * </DropdownMenu>
1162
+ * ```
1163
+ */
1013
1164
  declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
1014
1165
  declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1015
1166
  declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
package/dist/index.d.ts CHANGED
@@ -63,6 +63,8 @@ declare const buttonVariants: (props?: ({
63
63
  * Built on top of Radix UI's Slot primitive for maximum flexibility.
64
64
  * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
65
65
  *
66
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-button--docs
67
+ *
66
68
  * @component
67
69
  * @example
68
70
  * ```tsx
@@ -130,6 +132,8 @@ declare const textFieldVariants: (props?: ({
130
132
  * A versatile text field component that supports multiple variants, sizes, and icons.
131
133
  * Built on top of shadcn/ui's Input component.
132
134
  *
135
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-text-field--docs
136
+ *
133
137
  * @component
134
138
  * @example
135
139
  * ```tsx
@@ -184,6 +188,8 @@ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & Reac
184
188
  * It's a polymorphic component that can render as different HTML elements while maintaining
185
189
  * consistent styling and behavior.
186
190
  *
191
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-box--docs
192
+ *
187
193
  * @example
188
194
  * ```tsx
189
195
  * // Basic usage
@@ -229,6 +235,8 @@ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttri
229
235
  * with consistent spacing between items. It's built on top of Flexbox and provides
230
236
  * a simple way to create consistent layouts.
231
237
  *
238
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-stack--docs
239
+ *
232
240
  * @example
233
241
  * ```tsx
234
242
  * // Basic vertical stack
@@ -340,6 +348,19 @@ interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
340
348
  }
341
349
  declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
342
350
 
351
+ /**
352
+ * Dialog component for creating accessible dialogs with overlay and content.
353
+ * Built on top of Radix UI's Dialog primitive.
354
+ *
355
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-dialog--docs
356
+ *
357
+ * @example
358
+ * ```tsx
359
+ * <Dialog>
360
+ * <DialogTrigger>Open Dialog</DialogTrigger>
361
+ * <DialogContent>Dialog Content</DialogContent>
362
+ * </Dialog>
363
+ */
343
364
  declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
344
365
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
345
366
  declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
@@ -357,10 +378,37 @@ declare const DialogFooter: {
357
378
  declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
358
379
  declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
359
380
 
381
+ /**
382
+ * Input component for creating accessible input fields.
383
+ * Built on top of shadcn/ui's Input component.
384
+ *
385
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-input--docs
386
+ *
387
+ */
360
388
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
361
389
 
390
+ /**
391
+ * Separator component for creating horizontal or vertical dividers.
392
+ * Built on top of Radix UI's Separator primitive.
393
+ *
394
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-separator--docs
395
+ *
396
+ */
362
397
  declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
363
398
 
399
+ /**
400
+ * Sheet component for creating accessible sheets with overlay and content.
401
+ * Built on top of Radix UI's Sheet primitive.
402
+ *
403
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-sheet--docs
404
+ *
405
+ * @example
406
+ * ```tsx
407
+ * <Sheet>
408
+ * <SheetTrigger>Open Sheet</SheetTrigger>
409
+ * <SheetContent>Sheet Content</SheetContent>
410
+ * </Sheet>
411
+ */
364
412
  declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
365
413
  declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
366
414
  declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -383,6 +431,17 @@ declare const SheetFooter: {
383
431
  declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
384
432
  declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
385
433
 
434
+ /**
435
+ * Skeleton component for creating a loading state.
436
+ * Built on top of shadcn/ui's Skeleton component.
437
+ *
438
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-skeleton--docs
439
+ *
440
+ * @example
441
+ * ```tsx
442
+ * <Skeleton className="w-10 h-10" />
443
+ * ```
444
+ */
386
445
  declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
387
446
 
388
447
  /**
@@ -415,6 +474,22 @@ type AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;
415
474
  type AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;
416
475
  type AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;
417
476
 
477
+ /**
478
+ * TooltipProvider component for creating accessible tooltips.
479
+ * Built on top of Radix UI's Tooltip primitive.
480
+ *
481
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-tooltip--docs
482
+ *
483
+ * @example
484
+ * ```tsx
485
+ * <TooltipProvider>
486
+ * <Tooltip>
487
+ * <TooltipTrigger>Hover me</TooltipTrigger>
488
+ * <TooltipContent>Tooltip content</TooltipContent>
489
+ * </Tooltip>
490
+ * </TooltipProvider>
491
+ * ```
492
+ */
418
493
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
419
494
  declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
420
495
  declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -444,6 +519,8 @@ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<
444
519
  * Badge component for displaying status, counts, or labels.
445
520
  * Supports various variants, sizes, and optional icons.
446
521
  *
522
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-badge--docs
523
+ *
447
524
  * @example
448
525
  * ```tsx
449
526
  * <Badge variant="success">Active</Badge>
@@ -539,7 +616,19 @@ interface FormProviderProps {
539
616
 
540
617
  /**
541
618
  * Form component that provides form context to all child components.
542
- * Built on top of react-hook-form's FormProvider.
619
+ * Built on top of react-hook-form's useFormContext.
620
+ *
621
+ * @url https://segiimelnykov.github.io/ui/?path=/docs-atoms-form--docs
622
+ *
623
+ * @example
624
+ * ```tsx
625
+ * <Form>
626
+ * <FormField>
627
+ * <FormItem>
628
+ * <FormLabel>Name</FormLabel>
629
+ * </FormItem>
630
+ * </FormField>
631
+ * </Form>
543
632
  */
544
633
  declare const Form: ({ children, methods, onSubmit }: FormProviderProps) => react_jsx_runtime.JSX.Element;
545
634
  /**
@@ -591,6 +680,13 @@ declare const typographyVariants: (props?: ({
591
680
  interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
592
681
  as?: React$1.ElementType;
593
682
  }
683
+ /**
684
+ * Typography component for creating accessible text elements.
685
+ * Built on top of shadcn/ui's Typography component.
686
+ *
687
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-typography--docs
688
+ *
689
+ */
594
690
  declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
595
691
 
596
692
  type TypographyVariant = NonNullable<VariantProps<typeof typographyVariants>["variant"]>;
@@ -614,6 +710,12 @@ interface PageLoaderProps$1 {
614
710
  */
615
711
  color?: "primary" | "secondary" | "accent" | "muted" | "destructive" | string;
616
712
  }
713
+ /**
714
+ * PageLoader component for displaying a loading indicator.
715
+ *
716
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-page-loader--docs
717
+ *
718
+ */
617
719
  declare function PageLoader({ className, size, text, color }: PageLoaderProps$1): react_jsx_runtime.JSX.Element;
618
720
 
619
721
  interface PageLoaderProps {
@@ -639,6 +741,8 @@ interface PageLoaderProps {
639
741
  * Card is a flexible container component that can be used to group related content and actions.
640
742
  * It provides a consistent visual style with a subtle border, shadow, and rounded corners.
641
743
  *
744
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-card--docs
745
+ *
642
746
  * @example
643
747
  * ```tsx
644
748
  * // Basic card
@@ -763,6 +867,8 @@ interface NavigationMenuIndicatorProps extends React.ComponentPropsWithoutRef<ty
763
867
  * NavigationMenu component for creating accessible navigation menus with dropdowns.
764
868
  * Built on top of Radix UI's NavigationMenu primitive.
765
869
  *
870
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs
871
+ *
766
872
  * @example
767
873
  * ```tsx
768
874
  * <NavigationMenu>
@@ -826,6 +932,8 @@ interface RHFTextFieldProps<TFieldValues extends FieldValues = FieldValues, TNam
826
932
  * A text field component that integrates with React Hook Form.
827
933
  * Provides form validation, error handling, and accessibility features.
828
934
  *
935
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-rhf-text-field--docs
936
+ *
829
937
  * @example
830
938
  * ```tsx
831
939
  * <RHFTextField
@@ -916,6 +1024,31 @@ declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.Cl
916
1024
  open?: boolean;
917
1025
  onOpenChange?: (open: boolean) => void;
918
1026
  }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1027
+ /**
1028
+ * A flexible sidebar component that supports various layouts and configurations.
1029
+ * The sidebar can be positioned on either side of the screen and supports different
1030
+ * visual styles and collapse behaviors.
1031
+ *
1032
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
1033
+ *
1034
+ * @example
1035
+ * ```tsx
1036
+ * <Sidebar>
1037
+ * <SidebarHeader>
1038
+ * <SidebarTitle>Dashboard</SidebarTitle>
1039
+ * </SidebarHeader>
1040
+ * <SidebarContent>
1041
+ * <SidebarMenu>
1042
+ * <SidebarMenuItem icon={<HomeIcon />}>Home</SidebarMenuItem>
1043
+ * <SidebarMenuItem icon={<SettingsIcon />}>Settings</SidebarMenuItem>
1044
+ * </SidebarMenu>
1045
+ * </SidebarContent>
1046
+ * <SidebarFooter>
1047
+ * <SidebarTrigger />
1048
+ * </SidebarFooter>
1049
+ * </Sidebar>
1050
+ * ```
1051
+ */
919
1052
  declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
920
1053
  side?: "left" | "right";
921
1054
  variant?: "sidebar" | "floating" | "inset";
@@ -1010,6 +1143,24 @@ type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
1010
1143
  asChild?: boolean;
1011
1144
  };
1012
1145
 
1146
+ /**
1147
+ * DropdownMenu component for creating accessible dropdown menus.
1148
+ * Built on top of Radix UI's DropdownMenu primitive.
1149
+ *
1150
+ * @url https://segiimelnykov.github.io/ui/?path=/docs/organisms-dropdown-menu--docs
1151
+ *
1152
+ * @example
1153
+ * ```tsx
1154
+ * <DropdownMenu>
1155
+ * <DropdownMenuTrigger>Open Menu</DropdownMenuTrigger>
1156
+ * <DropdownMenuContent>
1157
+ * <DropdownMenuItem>Item 1</DropdownMenuItem>
1158
+ * <DropdownMenuItem>Item 2</DropdownMenuItem>
1159
+ * <DropdownMenuItem>Item 3</DropdownMenuItem>
1160
+ * </DropdownMenuContent>
1161
+ * </DropdownMenu>
1162
+ * ```
1163
+ */
1013
1164
  declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
1014
1165
  declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1015
1166
  declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;