@atxp/design-system 0.1.0 → 0.1.1
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.cjs +1000 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +340 -1
- package/dist/index.d.ts +340 -1
- package/dist/index.js +956 -93
- package/dist/index.js.map +1 -1
- package/package.json +13 -11
package/dist/index.d.cts
CHANGED
|
@@ -447,6 +447,34 @@ declare const HeaderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<
|
|
|
447
447
|
declare const HeaderActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
448
448
|
declare const HeaderDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
449
449
|
|
|
450
|
+
/**
|
|
451
|
+
* HoverCard Component
|
|
452
|
+
*
|
|
453
|
+
* For sighted users to preview content available behind a link.
|
|
454
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2785-828
|
|
455
|
+
*
|
|
456
|
+
* @see https://ui.shadcn.com/docs/components/hover-card
|
|
457
|
+
*
|
|
458
|
+
* @example
|
|
459
|
+
* ```tsx
|
|
460
|
+
* <HoverCard>
|
|
461
|
+
* <HoverCardHeader>
|
|
462
|
+
* <HoverCardTitle>Hover Card Title</HoverCardTitle>
|
|
463
|
+
* <HoverCardDescription>Hover Card Description</HoverCardDescription>
|
|
464
|
+
* </HoverCardHeader>
|
|
465
|
+
* <div>Main content goes here</div>
|
|
466
|
+
* </HoverCard>
|
|
467
|
+
* ```
|
|
468
|
+
*/
|
|
469
|
+
type HoverCardProps = React.HTMLAttributes<HTMLDivElement>;
|
|
470
|
+
declare const HoverCard: React.ForwardRefExoticComponent<HoverCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
471
|
+
type HoverCardHeaderProps = React.HTMLAttributes<HTMLDivElement>;
|
|
472
|
+
declare const HoverCardHeader: React.ForwardRefExoticComponent<HoverCardHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
473
|
+
type HoverCardTitleProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
474
|
+
declare const HoverCardTitle: React.ForwardRefExoticComponent<HoverCardTitleProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
475
|
+
type HoverCardDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
476
|
+
declare const HoverCardDescription: React.ForwardRefExoticComponent<HoverCardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
477
|
+
|
|
450
478
|
/**
|
|
451
479
|
* Icon Component
|
|
452
480
|
*
|
|
@@ -473,6 +501,317 @@ interface IconProps extends Omit<React.SVGProps<SVGSVGElement>, 'ref'> {
|
|
|
473
501
|
}
|
|
474
502
|
declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
475
503
|
|
|
504
|
+
/**
|
|
505
|
+
* Indicator variants using class-variance-authority
|
|
506
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=4717-4109
|
|
507
|
+
*/
|
|
508
|
+
declare const indicatorDotVariants: (props?: ({
|
|
509
|
+
status?: "high" | "low" | "medium" | "info" | null | undefined;
|
|
510
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
511
|
+
interface IndicatorDotProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof indicatorDotVariants> {
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* IndicatorDot Component
|
|
515
|
+
*
|
|
516
|
+
* Displays a small colored dot indicator for status visualization.
|
|
517
|
+
*
|
|
518
|
+
* @example
|
|
519
|
+
* ```tsx
|
|
520
|
+
* <IndicatorDot status="high" />
|
|
521
|
+
* <IndicatorDot status="medium" />
|
|
522
|
+
* <IndicatorDot status="low" />
|
|
523
|
+
* ```
|
|
524
|
+
*/
|
|
525
|
+
declare const IndicatorDot: React.ForwardRefExoticComponent<IndicatorDotProps & React.RefAttributes<HTMLDivElement>>;
|
|
526
|
+
declare const indicatorCircleVariants: (props?: ({
|
|
527
|
+
status?: "complete" | "partial" | "minimal" | null | undefined;
|
|
528
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
529
|
+
interface IndicatorCircleProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof indicatorCircleVariants> {
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* IndicatorCircle Component
|
|
533
|
+
*
|
|
534
|
+
* Displays a circular progress indicator.
|
|
535
|
+
*
|
|
536
|
+
* @example
|
|
537
|
+
* ```tsx
|
|
538
|
+
* <IndicatorCircle status="complete" />
|
|
539
|
+
* <IndicatorCircle status="partial" />
|
|
540
|
+
* <IndicatorCircle status="minimal" />
|
|
541
|
+
* ```
|
|
542
|
+
*/
|
|
543
|
+
declare const IndicatorCircle: React.ForwardRefExoticComponent<IndicatorCircleProps & React.RefAttributes<HTMLDivElement>>;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Input Component
|
|
547
|
+
*
|
|
548
|
+
* Displays a form input field or a component that looks like an input field.
|
|
549
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2630-194
|
|
550
|
+
*
|
|
551
|
+
* @see https://ui.shadcn.com/docs/components/input
|
|
552
|
+
*
|
|
553
|
+
* @example
|
|
554
|
+
* ```tsx
|
|
555
|
+
* <Input type="email" placeholder="Email" />
|
|
556
|
+
* <Input type="password" placeholder="Password" disabled />
|
|
557
|
+
* ```
|
|
558
|
+
*/
|
|
559
|
+
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
560
|
+
/**
|
|
561
|
+
* Optional icon to display at the end of the input
|
|
562
|
+
*/
|
|
563
|
+
icon?: React.ReactNode;
|
|
564
|
+
}
|
|
565
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* InputGroup Component
|
|
569
|
+
*
|
|
570
|
+
* Groups form inputs with labels and optional help text.
|
|
571
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2818-1785
|
|
572
|
+
*
|
|
573
|
+
* @example
|
|
574
|
+
* ```tsx
|
|
575
|
+
* <InputGroup>
|
|
576
|
+
* <InputGroupLabel>Email</InputGroupLabel>
|
|
577
|
+
* <Input type="email" placeholder="Enter email" />
|
|
578
|
+
* <InputGroupHelpText>We'll never share your email.</InputGroupHelpText>
|
|
579
|
+
* </InputGroup>
|
|
580
|
+
* ```
|
|
581
|
+
*/
|
|
582
|
+
type InputGroupProps = React.HTMLAttributes<HTMLDivElement>;
|
|
583
|
+
declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
584
|
+
type InputGroupLabelProps = React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
585
|
+
declare const InputGroupLabel: React.ForwardRefExoticComponent<InputGroupLabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
586
|
+
type InputGroupHelpTextProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
587
|
+
declare const InputGroupHelpText: React.ForwardRefExoticComponent<InputGroupHelpTextProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Label Component
|
|
591
|
+
*
|
|
592
|
+
* Renders an accessible label associated with controls.
|
|
593
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2604-4202
|
|
594
|
+
*
|
|
595
|
+
* @see https://ui.shadcn.com/docs/components/label
|
|
596
|
+
*
|
|
597
|
+
* @example
|
|
598
|
+
* ```tsx
|
|
599
|
+
* <Label htmlFor="email">Email</Label>
|
|
600
|
+
* <Input id="email" type="email" />
|
|
601
|
+
* ```
|
|
602
|
+
*/
|
|
603
|
+
type LabelProps = React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
604
|
+
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Menubar Component
|
|
608
|
+
*
|
|
609
|
+
* A visually persistent menu common in desktop applications that provides
|
|
610
|
+
* quick access to a consistent set of commands.
|
|
611
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2760-2489
|
|
612
|
+
*
|
|
613
|
+
* @see https://ui.shadcn.com/docs/components/menubar
|
|
614
|
+
*/
|
|
615
|
+
type MenubarProps = React.HTMLAttributes<HTMLDivElement>;
|
|
616
|
+
declare const Menubar: React.ForwardRefExoticComponent<MenubarProps & React.RefAttributes<HTMLDivElement>>;
|
|
617
|
+
declare const menubarTriggerVariants: (props?: ({
|
|
618
|
+
selected?: boolean | null | undefined;
|
|
619
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
620
|
+
interface MenubarTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof menubarTriggerVariants> {
|
|
621
|
+
}
|
|
622
|
+
declare const MenubarTrigger: React.ForwardRefExoticComponent<MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
623
|
+
type MenubarDropdownProps = React.HTMLAttributes<HTMLDivElement>;
|
|
624
|
+
declare const MenubarDropdown: React.ForwardRefExoticComponent<MenubarDropdownProps & React.RefAttributes<HTMLDivElement>>;
|
|
625
|
+
declare const menubarItemVariants: (props?: ({
|
|
626
|
+
disabled?: boolean | null | undefined;
|
|
627
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
628
|
+
interface MenubarItemProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, VariantProps<typeof menubarItemVariants> {
|
|
629
|
+
/**
|
|
630
|
+
* Optional keyboard shortcut to display
|
|
631
|
+
*/
|
|
632
|
+
shortcut?: string;
|
|
633
|
+
/**
|
|
634
|
+
* Whether to show a checkmark
|
|
635
|
+
*/
|
|
636
|
+
checked?: boolean;
|
|
637
|
+
/**
|
|
638
|
+
* Whether this item has a submenu
|
|
639
|
+
*/
|
|
640
|
+
hasSubmenu?: boolean;
|
|
641
|
+
}
|
|
642
|
+
declare const MenubarItem: React.ForwardRefExoticComponent<MenubarItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
643
|
+
type MenubarSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
|
|
644
|
+
declare const MenubarSeparator: React.ForwardRefExoticComponent<MenubarSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
645
|
+
type MenubarLabelProps = React.HTMLAttributes<HTMLDivElement>;
|
|
646
|
+
declare const MenubarLabel: React.ForwardRefExoticComponent<MenubarLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* NavHeader Component
|
|
650
|
+
*
|
|
651
|
+
* A horizontal navigation header for application navigation.
|
|
652
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=4722-5662
|
|
653
|
+
*
|
|
654
|
+
* @example
|
|
655
|
+
* ```tsx
|
|
656
|
+
* <NavHeader>
|
|
657
|
+
* <NavHeaderBrand>My App</NavHeaderBrand>
|
|
658
|
+
* <NavHeaderNav>
|
|
659
|
+
* <NavHeaderItem selected>Dashboard</NavHeaderItem>
|
|
660
|
+
* <NavHeaderItem>Settings</NavHeaderItem>
|
|
661
|
+
* </NavHeaderNav>
|
|
662
|
+
* </NavHeader>
|
|
663
|
+
* ```
|
|
664
|
+
*/
|
|
665
|
+
type NavHeaderProps = React.HTMLAttributes<HTMLElement>;
|
|
666
|
+
declare const NavHeader: React.ForwardRefExoticComponent<NavHeaderProps & React.RefAttributes<HTMLElement>>;
|
|
667
|
+
type NavHeaderBrandProps = React.HTMLAttributes<HTMLDivElement>;
|
|
668
|
+
declare const NavHeaderBrand: React.ForwardRefExoticComponent<NavHeaderBrandProps & React.RefAttributes<HTMLDivElement>>;
|
|
669
|
+
type NavHeaderNavProps = React.HTMLAttributes<HTMLElement>;
|
|
670
|
+
declare const NavHeaderNav: React.ForwardRefExoticComponent<NavHeaderNavProps & React.RefAttributes<HTMLElement>>;
|
|
671
|
+
declare const navHeaderItemVariants: (props?: ({
|
|
672
|
+
variant?: "default" | "selected" | null | undefined;
|
|
673
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
674
|
+
interface NavHeaderItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof navHeaderItemVariants> {
|
|
675
|
+
/**
|
|
676
|
+
* Whether this item is currently selected
|
|
677
|
+
*/
|
|
678
|
+
selected?: boolean;
|
|
679
|
+
/**
|
|
680
|
+
* Optional icon to display
|
|
681
|
+
*/
|
|
682
|
+
icon?: React.ReactNode;
|
|
683
|
+
}
|
|
684
|
+
declare const NavHeaderItem: React.ForwardRefExoticComponent<NavHeaderItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
685
|
+
type NavHeaderDividerProps = React.HTMLAttributes<HTMLDivElement>;
|
|
686
|
+
declare const NavHeaderDivider: React.ForwardRefExoticComponent<NavHeaderDividerProps & React.RefAttributes<HTMLDivElement>>;
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* NavSidePanel Component
|
|
690
|
+
*
|
|
691
|
+
* A vertical side navigation panel for application navigation.
|
|
692
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=4722-5838
|
|
693
|
+
*
|
|
694
|
+
* @example
|
|
695
|
+
* ```tsx
|
|
696
|
+
* <NavSidePanel>
|
|
697
|
+
* <NavSidePanelHeader>My App</NavSidePanelHeader>
|
|
698
|
+
* <NavSidePanelNav>
|
|
699
|
+
* <NavSidePanelItem selected icon={<Icon />}>Dashboard</NavSidePanelItem>
|
|
700
|
+
* <NavSidePanelItem icon={<Icon />}>Settings</NavSidePanelItem>
|
|
701
|
+
* </NavSidePanelNav>
|
|
702
|
+
* </NavSidePanel>
|
|
703
|
+
* ```
|
|
704
|
+
*/
|
|
705
|
+
type NavSidePanelProps = React.HTMLAttributes<HTMLDivElement>;
|
|
706
|
+
declare const NavSidePanel: React.ForwardRefExoticComponent<NavSidePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
707
|
+
type NavSidePanelHeaderProps = React.HTMLAttributes<HTMLDivElement>;
|
|
708
|
+
declare const NavSidePanelHeader: React.ForwardRefExoticComponent<NavSidePanelHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
709
|
+
type NavSidePanelBrandProps = React.HTMLAttributes<HTMLDivElement>;
|
|
710
|
+
declare const NavSidePanelBrand: React.ForwardRefExoticComponent<NavSidePanelBrandProps & React.RefAttributes<HTMLDivElement>>;
|
|
711
|
+
type NavSidePanelSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
|
|
712
|
+
declare const NavSidePanelSeparator: React.ForwardRefExoticComponent<NavSidePanelSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
713
|
+
type NavSidePanelNavProps = React.HTMLAttributes<HTMLElement>;
|
|
714
|
+
declare const NavSidePanelNav: React.ForwardRefExoticComponent<NavSidePanelNavProps & React.RefAttributes<HTMLElement>>;
|
|
715
|
+
declare const navSidePanelItemVariants: (props?: ({
|
|
716
|
+
selected?: boolean | null | undefined;
|
|
717
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
718
|
+
interface NavSidePanelItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof navSidePanelItemVariants> {
|
|
719
|
+
/**
|
|
720
|
+
* Optional icon to display
|
|
721
|
+
*/
|
|
722
|
+
icon?: React.ReactNode;
|
|
723
|
+
}
|
|
724
|
+
declare const NavSidePanelItem: React.ForwardRefExoticComponent<NavSidePanelItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
725
|
+
type NavSidePanelFooterProps = React.HTMLAttributes<HTMLDivElement>;
|
|
726
|
+
declare const NavSidePanelFooter: React.ForwardRefExoticComponent<NavSidePanelFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Pagination Component
|
|
730
|
+
*
|
|
731
|
+
* Pagination with page navigation, next and previous links.
|
|
732
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2648-223
|
|
733
|
+
*
|
|
734
|
+
* @see https://ui.shadcn.com/docs/components/pagination
|
|
735
|
+
*/
|
|
736
|
+
type PaginationProps = React.HTMLAttributes<HTMLElement>;
|
|
737
|
+
declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
|
|
738
|
+
declare const paginationItemVariants: (props?: ({
|
|
739
|
+
variant?: "default" | "active" | null | undefined;
|
|
740
|
+
size?: "default" | "sm" | null | undefined;
|
|
741
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
742
|
+
interface PaginationItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof paginationItemVariants> {
|
|
743
|
+
/**
|
|
744
|
+
* Whether this page is currently active
|
|
745
|
+
*/
|
|
746
|
+
isActive?: boolean;
|
|
747
|
+
}
|
|
748
|
+
declare const PaginationItem: React.ForwardRefExoticComponent<PaginationItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
749
|
+
interface PaginationLinkProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
750
|
+
/**
|
|
751
|
+
* Direction of the link
|
|
752
|
+
*/
|
|
753
|
+
direction?: 'previous' | 'next';
|
|
754
|
+
}
|
|
755
|
+
declare const PaginationLink: React.ForwardRefExoticComponent<PaginationLinkProps & React.RefAttributes<HTMLButtonElement>>;
|
|
756
|
+
type PaginationEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
757
|
+
declare const PaginationEllipsis: React.ForwardRefExoticComponent<PaginationEllipsisProps & React.RefAttributes<HTMLSpanElement>>;
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Popover Component
|
|
761
|
+
*
|
|
762
|
+
* Displays rich content in a portal, triggered by a button.
|
|
763
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2782-1741
|
|
764
|
+
*
|
|
765
|
+
* @see https://ui.shadcn.com/docs/components/popover
|
|
766
|
+
*
|
|
767
|
+
* @example
|
|
768
|
+
* ```tsx
|
|
769
|
+
* <Popover>
|
|
770
|
+
* <PopoverHeader>
|
|
771
|
+
* <PopoverTitle>Popover Title</PopoverTitle>
|
|
772
|
+
* <PopoverDescription>Popover Description</PopoverDescription>
|
|
773
|
+
* </PopoverHeader>
|
|
774
|
+
* <div>Content goes here</div>
|
|
775
|
+
* </Popover>
|
|
776
|
+
* ```
|
|
777
|
+
*/
|
|
778
|
+
type PopoverProps = React.HTMLAttributes<HTMLDivElement>;
|
|
779
|
+
declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
|
|
780
|
+
type PopoverHeaderProps = React.HTMLAttributes<HTMLDivElement>;
|
|
781
|
+
declare const PopoverHeader: React.ForwardRefExoticComponent<PopoverHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
782
|
+
type PopoverTitleProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
783
|
+
declare const PopoverTitle: React.ForwardRefExoticComponent<PopoverTitleProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
784
|
+
type PopoverDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
785
|
+
declare const PopoverDescription: React.ForwardRefExoticComponent<PopoverDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Progress Component
|
|
789
|
+
*
|
|
790
|
+
* Displays an indicator showing the completion progress of a task,
|
|
791
|
+
* typically displayed as a progress bar.
|
|
792
|
+
* Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2641-182
|
|
793
|
+
*
|
|
794
|
+
* @see https://ui.shadcn.com/docs/components/progress
|
|
795
|
+
*
|
|
796
|
+
* @example
|
|
797
|
+
* ```tsx
|
|
798
|
+
* <Progress value={33} />
|
|
799
|
+
* <Progress value={66} />
|
|
800
|
+
* <Progress value={100} />
|
|
801
|
+
* ```
|
|
802
|
+
*/
|
|
803
|
+
interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
804
|
+
/**
|
|
805
|
+
* The progress value (0-100)
|
|
806
|
+
*/
|
|
807
|
+
value?: number;
|
|
808
|
+
/**
|
|
809
|
+
* Optional max value (defaults to 100)
|
|
810
|
+
*/
|
|
811
|
+
max?: number;
|
|
812
|
+
}
|
|
813
|
+
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
814
|
+
|
|
476
815
|
/**
|
|
477
816
|
* Radio Component
|
|
478
817
|
*
|
|
@@ -898,4 +1237,4 @@ declare function ThemeProvider({ children, defaultTheme, storageKey, enablePersi
|
|
|
898
1237
|
*/
|
|
899
1238
|
declare function useTheme(): ThemeContextValue;
|
|
900
1239
|
|
|
901
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Drawer, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, Header, HeaderActions, HeaderBreadcrumbs, HeaderContent, HeaderDescription, HeaderTitle, Icon, Radio, type RadioProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetProps, SheetTitle, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toaster as Toast, Toggle, type ToggleProps, badgeVariants, buttonVariants, cn, toggleVariants, useTheme };
|
|
1240
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Drawer, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, Header, HeaderActions, HeaderBreadcrumbs, HeaderContent, HeaderDescription, HeaderTitle, HoverCard, HoverCardDescription, type HoverCardDescriptionProps, HoverCardHeader, type HoverCardHeaderProps, type HoverCardProps, HoverCardTitle, type HoverCardTitleProps, Icon, IndicatorCircle, type IndicatorCircleProps, IndicatorDot, type IndicatorDotProps, Input, InputGroup, InputGroupHelpText, type InputGroupHelpTextProps, InputGroupLabel, type InputGroupLabelProps, type InputGroupProps, type InputProps, Label, type LabelProps, Menubar, MenubarDropdown, type MenubarDropdownProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarTrigger, type MenubarTriggerProps, NavHeader, NavHeaderBrand, type NavHeaderBrandProps, NavHeaderDivider, type NavHeaderDividerProps, NavHeaderItem, type NavHeaderItemProps, NavHeaderNav, type NavHeaderNavProps, type NavHeaderProps, NavSidePanel, NavSidePanelBrand, type NavSidePanelBrandProps, NavSidePanelFooter, type NavSidePanelFooterProps, NavSidePanelHeader, type NavSidePanelHeaderProps, NavSidePanelItem, type NavSidePanelItemProps, NavSidePanelNav, type NavSidePanelNavProps, type NavSidePanelProps, NavSidePanelSeparator, type NavSidePanelSeparatorProps, Pagination, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, type PaginationProps, Popover, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, Progress, type ProgressProps, Radio, type RadioProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetProps, SheetTitle, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toaster as Toast, Toggle, type ToggleProps, badgeVariants, buttonVariants, cn, indicatorCircleVariants, indicatorDotVariants, menubarItemVariants, menubarTriggerVariants, navHeaderItemVariants, navSidePanelItemVariants, paginationItemVariants, toggleVariants, useTheme };
|